Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#62991 - [salt] logrotate config rotates rotated configs

Attached to Project: Community Packages
Opened by Dennis Schubert (DenSchub) - Monday, 24 June 2019, 10:53 GMT
Last edited by Johannes Löthberg (demize) - Wednesday, 18 December 2019, 21:08 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Johannes Löthberg (demize)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

The `/etc/logrotate.d/salt` provided by the salt package touches `/var/log/salt/*`. This results in logrotate rotating already rotated logs, and thus one ends up with filenames like `minion.1.gz.1.gz.1.gz.1.gz.2.gz.1.gz.1.gz.1.gz.1.gz.1.gz` and although the ls looks pretty, that shouldn't be the case.

Since salt only ever creates two files, it should be save to change the logrotate config to `/var/log/salt/{master,minion}`.
This task depends upon

Closed by  Johannes Löthberg (demize)
Wednesday, 18 December 2019, 21:08 GMT
Reason for closing:  Fixed
Comment by Dennis Schubert (DenSchub) - Monday, 24 June 2019, 21:10 GMT
Actually, should be `/var/log/salt/{api,key,master,minion,ssh,syndic}` to cover all the log files available in the default config.

Loading...