From 9ac872d1e620d24edf89ffbeeb5acb50c9af904b Mon Sep 17 00:00:00 2001
From: seb <seb>
Date: Sun, 10 Aug 2003 20:33:53 +0000
Subject: Also create /var/log/lastlog{,x} in the sandbox if they exist in the
 hosting system.

---
 mk/bulk/mksandbox | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'mk/bulk')

diff --git a/mk/bulk/mksandbox b/mk/bulk/mksandbox
index 0a0c1528b35..772161919aa 100755
--- a/mk/bulk/mksandbox
+++ b/mk/bulk/mksandbox
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: mksandbox,v 1.23 2003/07/30 09:25:13 seb Exp $
+# $NetBSD: mksandbox,v 1.24 2003/08/10 20:33:53 seb Exp $
 #
 #
 # Copyright (c) 2002 Alistair G. Crooks.  All rights reserved.
@@ -45,7 +45,7 @@ src=/usr/src
 kernel=""
 sandboxMountDirs="/bin /sbin /lib /libexec /usr/X11R6 /usr/bin /usr/games /usr/include /usr/lib /usr/libdata /usr/libexec /usr/lkm /usr/share /usr/sbin /var/mail"
 sandboxEmptyDirs="/var/run /var/log /var/spool/mqueue"
-sandboxEmptyFiles="/var/run/utmp /var/run/utmpx /var/log/wtmp /var/log/wtmpx"
+sandboxEmptyFiles="/var/run/utmp /var/run/utmpx /var/log/wtmp /var/log/wtmpx /var/log/lastlog /var/log/lastlogx"
 
 opsys=`uname -s`
 case "$opsys" in
-- 
cgit v1.2.3