Skip to content

GitLab

  • Menu
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
    • Contributors
    • Graph
    • Compare
  • Issues 749
    • Issues 749
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 332
    • Merge requests 332
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpine
  • 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
Reviewer
Request review from
Time tracking
Source branch: fix-messages-rotation