New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RHEL 7 packaging: fix logrotate file conflict with rsyslog #3324
Conversation
@kira-syslogng build packages please |
@czanik Please tell us when you backport this to the "official" syslog-ng package in EPEL 8. |
c93d358
to
5753cf0
Compare
Package Build SUCCESS Packages are available at https://ci.syslog-ng.com/jenkins/job/kira-dbld-pull-requests/691/artifact/ |
Build SUCCESS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. 👍
I plan to work on the official EPEL 8 package next week, as I already spent a lot more time on RPM packaging this week than I planned...
There was a comment from Evan on the mailing list iirc, where he had
concerns about the rename of the logrotate file. Are we handling that
somehow?
…On Wed, Jun 17, 2020, 10:25 Peter Czanik ***@***.***> wrote:
***@***.**** approved this pull request.
Looks good to me. 👍
I plan to work on the official EPEL 8 package next week, as I already
spent a lot more time on RPM packaging this week than I planned...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3324 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFOK5SQZD4WS6FJQRXTIXLRXB4YBANCNFSM4N7VWPGA>
.
|
No, there is nothing we can do here. In RHEL 8 the rsyslog package has its logrotate file as /etc/logrotate.d/syslog, but has rsyslog specific part in it (reloading rsyslog). If we copy an rsyslog-related logrotate file to /etc/logrotae.d/syslog-ng then the config in the syslog-ng-logrotate subpackage would not overwrite it and would not work. |
What if we ran sed against the config file on installation?
…On Wed, Jun 17, 2020, 12:20 Peter Czanik ***@***.***> wrote:
No, there is nothing we can do here. In RHEL 8 the rsyslog package has its
logrotate file as /etc/logrotate.d/syslog, but has rsyslog specific part in
it (reloading rsyslog). If we copy an rsyslog-related logrotate file to
/etc/logrotae.d/syslog-ng then the config in the syslog-ng-logrotate
subpackage would not overwrite it and would not work.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3324 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFOK5TJW6PZKKVVXXETLCLRXCKFBANCNFSM4N7VWPGA>
.
|
No. I ran into too many sed magic fixing corner cases in syslog-ng packaging and causing hard to debug problems later on. |
syslog-ng.spec.diff.txt |
Signed-off-by: Peter Czanik <peter@czanik.hu>
Signed-off-by: László Várady <laszlo.varady@protonmail.com>
5753cf0
to
3989218
Compare
Thanks. PR updated. |
@kira-syslogng build packages, please |
Package Build SUCCESS Packages are available at https://ci.syslog-ng.com/jenkins/job/kira-dbld-pull-requests/693/artifact/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 👍
Build SUCCESS |
Fixes #1384
More info: #1384 (comment)