Source-Changes-HG archive

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

[src/netbsd-3]: src/etc Pull up following revision(s) (requested by lukem in ...



details:   https://anonhg.NetBSD.org/src/rev/dc1d2a55e461
branches:  netbsd-3
changeset: 577327:dc1d2a55e461
user:      tron <tron%NetBSD.org@localhost>
date:      Fri Oct 07 11:56:16 2005 +0000

description:
Pull up following revision(s) (requested by lukem in ticket #871):
        etc/mtree/special: revision 1.87
        etc/Makefile: revision 1.313
Consistently use 0664 root:utmp for /var/log/{lastlog,wtmp}{,x}.
Rest of PR 18670.

diffstat:

 etc/Makefile      |  10 +++++-----
 etc/mtree/special |  10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diffs (53 lines):

diff -r db97fe77438e -r dc1d2a55e461 etc/Makefile
--- a/etc/Makefile      Fri Oct 07 11:54:52 2005 +0000
+++ b/etc/Makefile      Fri Oct 07 11:56:16 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.306.2.7 2005/09/04 19:57:50 tron Exp $
+#      $NetBSD: Makefile,v 1.306.2.8 2005/10/07 11:56:16 tron Exp $
 #      from: @(#)Makefile      8.7 (Berkeley) 5/25/95
 
 # Environment variables without default values:
@@ -280,15 +280,15 @@
                uucp dialer             640     /var/log/aculog \
                ${BINOWN} ${BINGRP}     600     /var/log/authlog \
                root wheel              600     /var/log/cron \
-               ${BINOWN} ${BINGRP}     664     /var/log/lastlog \
-               ${BINOWN} ${BINGRP}     664     /var/log/lastlogx \
+               ${BINOWN} ${UTMPGRP}    664     /var/log/lastlog \
+               ${BINOWN} ${UTMPGRP}    664     /var/log/lastlogx \
                ${BINOWN} ${BINGRP}     640     /var/log/lpd-errs \
                ${BINOWN} ${BINGRP}     600     /var/log/maillog \
                ${BINOWN} ${BINGRP}     644     /var/log/messages \
                ${BINOWN} ${BINGRP}     600     /var/log/secure \
                ${BINOWN} ${BINGRP}     644     /var/log/sendmail.st \
-               ${BINOWN} ${BINGRP}     644     /var/log/wtmp \
-               ${BINOWN} ${BINGRP}     644     /var/log/wtmpx \
+               ${BINOWN} ${UTMPGRP}    664     /var/log/wtmp \
+               ${BINOWN} ${UTMPGRP}    664     /var/log/wtmpx \
                ${BINOWN} ${BINGRP}     600     /var/log/xferlog \
                daemon staff            664     /var/msgs/bounds \
                ${BINOWN} ${UTMPGRP}    664     /var/run/utmp \
diff -r db97fe77438e -r dc1d2a55e461 etc/mtree/special
--- a/etc/mtree/special Fri Oct 07 11:54:52 2005 +0000
+++ b/etc/mtree/special Fri Oct 07 11:56:16 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: special,v 1.82.2.5 2005/09/02 12:29:37 tron Exp $
+#      $NetBSD: special,v 1.82.2.6 2005/10/07 11:56:16 tron Exp $
 #      @(#)special     8.2 (Berkeley) 1/23/94
 #
 # Hand-crafted mtree specification for the dangerous files.
@@ -328,10 +328,10 @@
 ./var/db                       type=dir  mode=0755
 ./var/log                      type=dir  mode=0755
 ./var/log/authlog              type=file mode=0600 optional tags=exclude
-./var/log/lastlog              type=file mode=0644 tags=exclude
-./var/log/lastlogx             type=file mode=0644 tags=exclude
-./var/log/wtmp                 type=file mode=0644 tags=exclude
-./var/log/wtmpx                        type=file mode=0644 tags=exclude
+./var/log/lastlog              type=file mode=0664 gname=utmp tags=exclude
+./var/log/lastlogx             type=file mode=0664 gname=utmp tags=exclude
+./var/log/wtmp                 type=file mode=0664 gname=utmp tags=exclude
+./var/log/wtmpx                        type=file mode=0664 gname=utmp tags=exclude
 ./var/mail                     type=dir  mode=1777 ignore
 ./var/preserve                 type=dir  mode=0755 ignore
 ./var/run                      type=dir  mode=0755



Home | Main Index | Thread Index | Old Index