Bug 260158 - sysutils/rsyslog8 pkg message is outdated
Summary: sysutils/rsyslog8 pkg message is outdated
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Matthew Seaman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-01 17:57 UTC by Mark Johnston
Modified: 2021-12-03 18:17 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (matthew)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Johnston freebsd_committer 2021-12-01 17:57:29 UTC
Installing rsyslog, I get this message:

It's recommended to copy syslog.conf(5) to                                                                                                                                                                    
/usr/local/etc/rsyslog.conf and edit it there. Otherwise add                                                                                                                                                  
this:

  rsyslogd_config="/etc/syslog.conf"

But if I do that and start rsyslogd I get:

rsyslogd: BSD-style blocks are no longer supported in rsyslog, see https://www.rsyslog.com/g/BSD for details and a solution (Block '!-devd') [v8.2110.0 try https://www.rsyslog.com/e/2304 ]
Comment 1 commit-hook freebsd_committer 2021-12-03 18:15:26 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2a74583ea36bedf5f56c4cffcaa88ad317679104

commit 2a74583ea36bedf5f56c4cffcaa88ad317679104
Author:     Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2021-12-03 18:10:10 +0000
Commit:     Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2021-12-03 18:14:18 +0000

    sysutils/rsyslog8: update pkg-message and add sample config file

    Upstream changes mean that the advice formerly given in pkg-message to
    modify the default /etc/syslog.conf file as the basis of a new
    ${PREFIX}/etc/rsyslog.conf are now less useful and confusing to end
    users.

    Therefore, update the pkg-message accordingly, and install a sample
    config file which should duplicated the functionality of the base
    syslog.conf.

    PR:             260158
    Reported by:    Mark Johnston

 sysutils/rsyslog8/Makefile                 |  5 ++++
 sysutils/rsyslog8/files/pkg-message.in     | 19 +++++-------
 sysutils/rsyslog8/files/rsyslog.conf (new) | 47 ++++++++++++++++++++++++++++++
 sysutils/rsyslog8/pkg-plist                |  2 ++
 4 files changed, 61 insertions(+), 12 deletions(-)
Comment 2 Matthew Seaman freebsd_committer 2021-12-03 18:17:09 UTC
Thank you for the report!