Skip to content

Fix /var/log/messages rotation when rsyslog is used

Leonardo Arena requested to merge larena/aports:fix-messages-rotation into master

5d232331 added default /var/log/messages rotation, which does not signal to rsyslogd to re-open the log file, causing it to write to a non-existing FD after rotation.

Revert the commit and tell rsyslog to rotate also messages (which currently does not touch).

Syslog-ng logrotate is configured to rotate also messages, so it should be currently unaffected and it is expected to work properly after this MR is applied.

Affects edge and all stable branches.

Merge request reports

Loading