[Bug 202190] newsyslog include processing tries to parse directories as files
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Aug 1 04:40:07 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202190
Gregory Neil Shapiro <gshapiro at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|New |Closed
--- Comment #1 from Gregory Neil Shapiro <gshapiro at FreeBSD.org> ---
This was fixed:
Revision 340318 - (view) (download) (annotate) - [select for diffs]
Modified Sat Nov 10 10:46:38 2018 UTC (20 months, 3 weeks ago) by woodsb02
File length: 1664 byte(s)
Diff to previous 340253
newsyslog.conf: Restrict included files in default config to [!.]*.conf
The new default config will only include files from the following
directories which end with '.conf' and do not beginning with a '.'
character:
- /etc/newsyslog.conf.d/
- /usr/local/etc/newsyslog.conf.d/
This matches the syslog.conf(5) functionality, and also prevents '.sample' or
'.pkgnew' files being included. This is important for ports which install files
in /usr/local/etc/newsyslog.conf.d/ and also for pkgbase.
Approved by: eadler
Approved by: bapt
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D17086
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list