You can now log baselayout-2 again, through the RC_LOGGER conf.d/rc
setting. The log is temp stored in /lib/rc/init.d/rc.log and appended to /var/log/rc.log if it's writeable. sysinit cannot be logged in Linux as we rely on sysinit to bring the system up to a point where we can log. single user cannot be logged on FreeBSD due to waitpid(0,0,0) incorrectly waiting for the log daemon in another process group.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
if mkdir "${RC_SVCDIR}/.test.$$" 2>/dev/null ; then
|
||||
rmdir "${RC_SVCDIR}/.test.$$"
|
||||
rm -rf $(ls -d1 "${RC_SVCDIR:-/lib/rcscripts/init.d}"/* 2>/dev/null | \
|
||||
grep -Ev "/(deptree|ksoftlevel)$")
|
||||
grep -Ev "/(deptree|ksoftlevel|rc.log)$")
|
||||
else
|
||||
mount_svcdir
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user