Bug 237610

Summary: newsyslog include any files from newsyslog.conf.d, which may be unwanted
Product: Base System Reporter: Olexandr Davydenko <odavydenko>
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Overcome By Events    
Severity: Affects Many People CC: emaste, freebsd, grahamperrin
Priority: ---    
Version: 11.2-RELEASE   
Hardware: Any   
OS: Any   

Description Olexandr Davydenko 2019-04-27 18:40:12 UTC
newsyslog include all from directories /etc/newsyslog.conf.d/ and /usr/local/etc/newsyslog.conf.d/ including files that do not need to be processed - e.g. previous versions with .bak suffix or temporary disabled by renaming.

Better to change the default /etc/newsyslog.conf to include only *.conf files instead of all by replacing
<include> /etc/newsyslog.conf.d/*
<include> /usr/local/etc/newsyslog.conf.d/*
with:
<include> /etc/newsyslog.conf.d/*.conf
<include> /usr/local/etc/newsyslog.conf.d/*.conf
Comment 1 Conrad Meyer freebsd_committer freebsd_triage 2019-04-27 18:56:24 UTC
(Already in 12.x+ via r340318.)
Comment 2 Michael Büker 2021-03-08 10:31:37 UTC
This has landed in 13.0, and likely won't go in 11.x or 12.x, so I think this ticket can be closed.
Comment 3 Michael Büker 2021-07-07 10:39:43 UTC
Quarterly reminder that this can be closed as Overcome by Events ;)