syslogd include directive reads but disregards all but the last included .conf file

Mark Martinec Mark.Martinec+freebsd at ijs.si
Mon Aug 28 13:43:11 UTC 2017


Could somebody please check why the new 'include' 11.1 feature of 
syslogd
does not work when given more than one file to include...

Any chance of fixing this as a patch release to 11.1 ?


> The 11.1 release brought a very desirable feature to syslogd:
> 
> $ man syslog.conf :
>   A special include keyword can be used to include all files with names
>   ending in '.conf' and not beginning with a '.' contained in the 
> directory
>   following the keyword.
> 
> but ...
> 
> It turns out that of all the *.conf files found in the included
> directory /etc/syslog.d, only entries found in the (alphabetically)
> *last* file there are taken into account, all other entries in
> remaining included files are just ignored.
[...]

Details at:

   Bug 221742
     syslogd include directive reads but disregards all but the last 
included .conf file

   https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221742


Mark


More information about the freebsd-stable mailing list