Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • aports aports
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
  • Issues 735
    • Issues 735
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 323
    • Merge requests 323
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpinealpine
  • aportsaports
  • Merge requests
  • !29022

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

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Leonardo Arena requested to merge larena/aports:fix-messages-rotation into master Dec 30, 2021
  • Overview 3
  • Commits 2
  • Pipelines 1
  • Changes 4

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.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-messages-rotation