[SOLVED] How can I setup chrooted DHCPD with Syslog-NG ?

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


I've solved the problem ...

Sébastien CRAMATTE escribió:
> 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