[syslog-ng]logging from a chrooted process

Gregor Binder Gregor.Binder@sysfive.com
Thu, 7 Nov 2002 17:24:36 +0100


Msg from Guillaume LACHENAL:

Hey Guillaume,

> > what about a unix-stream("/var/chroot/ntp/dev/log") source to syslog-ng?
> 
> ... symlinked to /dev/log

A symlink to /dev/log in a chroot refers to CHROOT/dev/log, which is the
same in your case if I understand the above correctly. If that would
work the way you intended, that would defeat the purpose of a chroot :)

Different story with hardlinks, which in turn wont work with sockets.

Greetings,
  Gregor.