Remove a number of entries from the distribution target that are
automaticly created at boot. There's no need to maintain a list of files and permissions in multiple places. This also means binary updates won't stomp on log files. For the record, utmp is created in etc/rc.d/cleanvar, wtmp and lastlog in etc/rc.d/var, and the reset via etc/rc.d/newsyslog.
This commit is contained in:
parent
14774e80ee
commit
ff2589bdb2
26
etc/Makefile
26
etc/Makefile
@ -159,32 +159,6 @@ distribution:
|
||||
${DESTDIR}/etc/dumpdates
|
||||
${INSTALL} -o nobody -g ${BINGRP} -m 644 /dev/null \
|
||||
${DESTDIR}/var/db/locate.database
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
|
||||
${DESTDIR}/var/log/auth.log
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
|
||||
${DESTDIR}/var/log/cron
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
|
||||
${DESTDIR}/var/log/debug.log
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
|
||||
${DESTDIR}/var/log/xferlog
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
|
||||
${DESTDIR}/var/log/lpd-errs
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 640 /dev/null \
|
||||
${DESTDIR}/var/log/maillog
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
|
||||
${DESTDIR}/var/log/lastlog
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
|
||||
${DESTDIR}/var/log/messages
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
|
||||
${DESTDIR}/var/log/security
|
||||
${INSTALL} -o ${BINOWN} -g network -m 640 /dev/null \
|
||||
${DESTDIR}/var/log/slip.log
|
||||
${INSTALL} -o ${BINOWN} -g network -m 640 /dev/null \
|
||||
${DESTDIR}/var/log/ppp.log
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
|
||||
${DESTDIR}/var/log/wtmp
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
|
||||
${DESTDIR}/var/run/utmp
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 ${.CURDIR}/minfree \
|
||||
${DESTDIR}/var/crash
|
||||
cd ${.CURDIR}/..; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||
|
Loading…
Reference in New Issue
Block a user