[syslog-ng]logging from a chrooted process
Balazs Scheidler
bazsi@balabit.hu
Thu, 7 Nov 2002 17:14:17 +0100
On Thu, Nov 07, 2002 at 04:14:45PM +0100, Guillaume LACHENAL wrote:
> Balazs Scheidler wrote:
> B> configuration initialization is performed prior to chroot-ing, so
> syslog-ng
> B> first opens the necessary devices, and then chroots itself.
>
> Instead of adjusting my conf file each time a chroot a service (OK, it's
> not
> every day ;-), it would be perfect if I can write a thing like :
>
> source s_chroot { unix-stream("/chroot/*/dev/log"); };
I wouldn't like to implement this feature. You could write a script with the
same functionality instead that would generate you syslog-ng.conf.
--
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1