[syslog-ng] request for testing: logrotate scripts in Fedora/RHEL packages
Peter Czanik (pczanik)
Peter.Czanik at oneidentity.com
Tue Jun 16 12:31:19 UTC 2020
Hi,
Yes, once I received feedback I plan post my changes also there. So they are not lost again 🙂
Peter
Peter Czanik (CzP) <peter.czanik at oneidentity.com>
Balabit (a OneIdentity company) / syslog-ng upstream
https://syslog-ng.com/community/
https://twitter.com/PCzanik
________________________________
From: syslog-ng <syslog-ng-bounces at lists.balabit.hu> on behalf of Balazs Scheidler <bazsi77 at gmail.com>
Sent: Tuesday, June 16, 2020 14:28
To: Syslog-ng users' and developers' mailing list <syslog-ng at lists.balabit.hu>
Subject: Re: [syslog-ng] request for testing: logrotate scripts in Fedora/RHEL packages
CAUTION: This email originated from outside of the organization. Do not follow guidance, click links, or open attachments unless you recognize the sender and know the content is safe.
Hi,
can you please prepare a patch for our in-tree packaging scripts as well? thanks.
On Tue, Jun 16, 2020 at 2:18 PM Peter Czanik (pczanik) <Peter.Czanik at oneidentity.com<mailto:Peter.Czanik at oneidentity.com>> wrote:
Hi,
There were multiple tickets, bug reports about logrotate scripts in syslog-ng RPM packages for Fedora/RHEL.
https://bugzilla.redhat.com/show_bug.cgi?id=1802165<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.redhat.com%2Fshow_bug.cgi%3Fid%3D1802165&data=02%7C01%7Cpeter.czanik%40oneidentity.com%7C5022e96d2ffe42ddcea208d811f0d103%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637279073289404086&sdata=iKTi9rjpAtPl62t9dRxounNNJ2SGcL05xr9tc8s%2FeZE%3D&reserved=0>
https://github.com/syslog-ng/syslog-ng/issues/1384#issuecomment-644716350<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsyslog-ng%2Fsyslog-ng%2Fissues%2F1384%23issuecomment-644716350&data=02%7C01%7Cpeter.czanik%40oneidentity.com%7C5022e96d2ffe42ddcea208d811f0d103%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637279073289414081&sdata=q7BtYG%2FSgwQ4mCyXb%2BT2dku%2FUjXFVmaF7NjsYJaks8o%3D&reserved=0>
I have now a possible solution available for testing in my git snapshot repo: https://copr.fedorainfracloud.org/coprs/czanik/syslog-ng-githead/<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcopr.fedorainfracloud.org%2Fcoprs%2Fczanik%2Fsyslog-ng-githead%2F&data=02%7C01%7Cpeter.czanik%40oneidentity.com%7C5022e96d2ffe42ddcea208d811f0d103%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637279073289414081&sdata=DbdGi9tV5qFD0ctXx%2BJ05CSpNOfQWvAY7%2Bc%2FKLtIm7Y%3D&reserved=0>
* Installs the same logrotate script on RHEL/CentOS 7 as rsyslog
* On RHEL/CentOS 8 and Fedora the logrotate script is called syslog-ng and uses systemctl to reload syslog-ng after rotation, just as the rsyslog variant. It is in a separate subpackage, and installed only when rsyslog is not on the system (for reasons check the RH bugzilla ticket: in short it would not be used anyway due to conflicts)
I tested it on Fedora 32 and CentOS 7, both with and without rsyslog on the system. It worked fine for me, but any feedback is appreciated.
If it is tested to work by someone else than me, I'll push the changes both to the official EPEL package and to the syslog-ng github repo.
Bye,
CzP
Peter Czanik (CzP) <peter.czanik at oneidentity.com<mailto:peter.czanik at oneidentity.com>>
Balabit (a OneIdentity company) / syslog-ng upstream
https://syslog-ng.com/community/<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsyslog-ng.com%2Fcommunity%2F&data=02%7C01%7Cpeter.czanik%40oneidentity.com%7C5022e96d2ffe42ddcea208d811f0d103%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637279073289424077&sdata=d71BYr5TZbG5TI%2FNzB1naHA2aZ3C6nVg06HJu%2FbIbg0%3D&reserved=0>
https://twitter.com/PCzanik<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2FPCzanik&data=02%7C01%7Cpeter.czanik%40oneidentity.com%7C5022e96d2ffe42ddcea208d811f0d103%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637279073289434076&sdata=dS2qMcLKD%2BiI5Y%2F4QLzu497g7nsq5P%2BOcFr5d0nESrU%3D&reserved=0>
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.balabit.hu%2Fmailman%2Flistinfo%2Fsyslog-ng&data=02%7C01%7Cpeter.czanik%40oneidentity.com%7C5022e96d2ffe42ddcea208d811f0d103%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637279073289434076&sdata=zbcig6RetYTLxYLSIfSglhJdMEh4CALOYngkUR12%2FTk%3D&reserved=0>
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng<https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.balabit.com%2Fsupport%2Fdocumentation%2F%3Fproduct%3Dsyslog-ng&data=02%7C01%7Cpeter.czanik%40oneidentity.com%7C5022e96d2ffe42ddcea208d811f0d103%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637279073289444068&sdata=fSw7ZqsQfytbHo234Cm0LxqIAPwGY3O4po32WtXEH4k%3D&reserved=0>
FAQ: http://www.balabit.com/wiki/syslog-ng-faq<https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.balabit.com%2Fwiki%2Fsyslog-ng-faq&data=02%7C01%7Cpeter.czanik%40oneidentity.com%7C5022e96d2ffe42ddcea208d811f0d103%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637279073289444068&sdata=RCMM%2Ftm6Ryc9ay1axZGHpZXElYUw3U3Ti1b9oeCIjHc%3D&reserved=0>
--
Bazsi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20200616/be592a64/attachment-0001.html>
More information about the syslog-ng
mailing list