How can I setup chrooted DHCPD with Syslog-NG ?

Sébastien CRAMATTE s.cramatte at wanadoo.fr
Fri Jul 13 14:18:38 UTC 2007


Hello,

To check my issue with lease I need to setup my sylog-ng.
My DhcpD is chrooted to /var/lib/dhcp3

I've test with the conf below  but unfortunately doesn't works ...

any tips ?


--- dhcpd.conf ---

...
log-facility local7;
...

--- syslog-ng.cobf ---
source s_chrooted_dhcpd {
        unix-stream("/var/lib/dhcp3/dev/log");
};

filter f_local7  {
    facility(local7);
};

destination d_local7 {
    file("/var/log/dhcpd.log");
};

log {
        source(s_chrooted_dhcpd);
        filter(f_local7);
        destination(d_local7);
 };



More information about the dhcp-users mailing list