[Bug 237610] newsyslog include any files from newsyslog.conf.d, which may be unwanted

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 27 18:40:14 UTC 2019


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

            Bug ID: 237610
           Summary: newsyslog include any files from newsyslog.conf.d,
                    which may be unwanted
           Product: Base System
           Version: 11.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: conf
          Assignee: bugs at FreeBSD.org
          Reporter: odavydenko at gmail.com

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list