summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorseb <seb>2003-08-10 20:33:53 +0000
committerseb <seb>2003-08-10 20:33:53 +0000
commit1dd31c9798ff989ea0c239a498f9d9a99f75b9c5 (patch)
tree6ab3a90532b8c95e48c5bd1e30f35a9f8dabcd80 /mk
parent3e31800d8933aa6df564a4697caa49c30d9d1e34 (diff)
downloadpkgsrc-1dd31c9798ff989ea0c239a498f9d9a99f75b9c5.tar.gz
Also create /var/log/lastlog{,x} in the sandbox if they exist in the
hosting system.
Diffstat (limited to 'mk')
-rwxr-xr-xmk/bulk/mksandbox4
1 files changed, 2 insertions, 2 deletions
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