[syslog-ng]logging from a chrooted process

Guillaume LACHENAL glachenal@on-x.com
Thu, 7 Nov 2002 14:30:19 +0100


I'm currently trying to chroot some services on a Linux box (ntpd)

strace'ing it to find the missing libs, I've seen that the process can't 
log as /dev/log is outside the jail

> 9135  connect(4, {sin_family=AF_UNIX, path="      /dev/log"}, 16) = -1 
ENOENT (No such file or directory)

How to make a /dev/log into the jail ? or send the log via network to a 
log collector ?

Thanks

Regards

Guillaume