pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/bulk Also create /var/log/lastlog{,x} in the sandbo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fa442e79ba5b
branches:  trunk
changeset: 459881:fa442e79ba5b
user:      seb <seb%pkgsrc.org@localhost>
date:      Sun Aug 10 20:33:53 2003 +0000

description:
Also create /var/log/lastlog{,x} in the sandbox if they exist in the
hosting system.

diffstat:

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

diffs (20 lines):

diff -r bbb2ca086cf2 -r fa442e79ba5b mk/bulk/mksandbox
--- a/mk/bulk/mksandbox Sun Aug 10 14:44:58 2003 +0000
+++ b/mk/bulk/mksandbox Sun Aug 10 20:33:53 2003 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index