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

Our ARM infrastructure is unreachable at the moment, so CI jobs will time-out and packages will not be updated until the servers are back.

  • alpinealpine
  • aportsaports
  • Merge requests
  • !29021

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

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Leonardo Arena requested to merge larena/aports:rsyslog-logrotate into master Dec 30, 2021
  • Overview 0
  • 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: rsyslog-logrotate