Bug 252613 - sysutils/syslog-ng: revert syslog-ng.conf.sample r555726
Summary: sysutils/syslog-ng: revert syslog-ng.conf.sample r555726
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Cy Schubert
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2021-01-12 15:30 UTC by Boris Korzun
Modified: 2021-01-12 17:34 UTC (History)
1 user (show)

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


Attachments
revert ports r555726 (8.10 KB, patch)
2021-01-12 15:30 UTC, Boris Korzun
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Korzun 2021-01-12 15:30:17 UTC
Created attachment 221498 [details]
revert ports r555726

It's need to revert syslog-ng.conf.sample after ports r555726.

The commit contains some errors:
1) The system() source contains a syslog-protocol flag by default ( https://github.com/syslog-ng/syslog-ng/blob/2d594f664a5d8c01081c96c966ac3d05ef8675d4/modules/system-source/system-source.c#L57 ) for a long time now.
2) The system() source contains unix-dgram("/var/run/logpriv" perm(0600)); also ( https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.21/administration-guide/25#TOPIC-1180460 ). Omitted by the commit.
3) There're no a no-parse flag on file("/dev/klog") in the commit.
4) The udp() source is omitted by the commit.

P.S. Added the LICENSE section to Makefile also.
Comment 1 Cy Schubert freebsd_committer 2021-01-12 15:59:55 UTC
Without the patch syslog-ng is crippled on FreeBSD 12+ that support RFC 5424, the default.

What specific problem are you experiencing?
Comment 2 Boris Korzun 2021-01-12 17:34:47 UTC
(In reply to Cy Schubert from comment #1)
Syslog-ng works correctly on FreeBSD 12+ that support RFC 5424, because the system() source already contains flags(syslog-protocol) by default. The previous commit is meaningless.

Specific problem is logpriv-socket absence.