Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Aug 2020 04:40:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 202190] newsyslog include processing tries to parse directories as files
Message-ID:  <bug-202190-227-349nvuwA1A@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-202190-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-202190-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D202190

Gregory Neil Shapiro <gshapiro@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|New                         |Closed

--- Comment #1 from Gregory Neil Shapiro <gshapiro@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 f=
iles
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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202190-227-349nvuwA1A>