Is it possible to create sockets with "syslog-ng" similar to how you can do so with "syslogd" ? The reason for this beeing that I'm running some applications chrooted, and need to open a /dev/log socket that is in that chroot-jail.
Is it possible to create sockets with "syslog-ng" similar to how you can do so with "syslogd" ? The reason for this beeing that I'm running some applications chrooted, and need to open a /dev/log socket that is in that chroot-jail.
of course you can. just add a source: source local { unix-stream("/dev/log"); internal(); }; source jail1 { unix-stream("/jail/dns/dev/log"); }; source jail2 { unix-stream("/jail/www/dev/log"); }; of course you can do this by using a single source: source local { unix-stream("/dev/log"); internal(); unix-stream("/jail/dns/dev/log"); }; -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
participants (2)
-
Balazs Scheidler
-
Ted Parnefors