2018-02-23 18:37 GMT+01:00 Adam Chalkley <atc0...@auburn.edu>:
> I don't know about other distros, but on Ubuntu and CentOS 7 after installing 
> the 8.33.0 package our systems quit saving log messages locally as soon as 
> the next morning's logrotate cron jobs ran. The problem is that the upstream 
> packages were not updated to include a new logrotate conf that works around 
> the change in behavior with the systemd unit file of not creating a pid file.
>
> See these GitHub issues for additional information:
>
> https://github.com/rsyslog/rsyslog-pkg-ubuntu/issues/74
> https://github.com/rsyslog/rsyslog-pkg-rhel-centos/issues/42
> https://github.com/rsyslog/rsyslog/issues/2143
>
> The workaround for our environment was to create a drop-in to restore the 
> previous behavior of creating a pid file:
>

Or you could have fixed the logrotate config to use
postrotate
   systemctl kill -s HUP rsyslog.service
endscript

That seems like the cleaner solution

Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to