Note:
You are viewing an old revision of this page.
View the current version.
Syslog inside your chroot
I had a few issues getting syslog to work -
- In debian, the start-stop-daemon program used to start syslog finds the existing syslog running (ie the one outside the chroot) and won't start another one. I fixed this by changing a line in /etc/init.d/sysklogd from "start-stop-daemon --start --quiet --exec $binpath -- $SYSLOGD" to simply "$binpath $SYSLOGD"
- make sure you have all the device files it needs - eg /dev/log and /dev/console
- syslog wouldn't open any output log files until I copied /etc/services and restarted it - otherwise it doesn't know what port it should listen on...
--
Also see chroot(8)