logrotate.d issue + missing optdepends on logrotate?
Task Info (Flyspray) | |
---|---|
Opened By | dshYHRZDKhg (YEXq_ftngh) |
Task ID | 79709 |
Type | Bug Report |
Project | Arch Linux |
Category | Packages: Extra |
Version | None |
OS | All |
Opened | 2023-09-16 15:11:46 UTC |
Status | Assigned |
Assignee | Felix Yan (felixonmars) |
Details
Description: The exim package supplies /etc/logrotate.d/exim. This file is not part of the exim source. I presume it was added by the package maintainer. As a side note, I find it good the package supplies this file. End of side note. Without verifying, I assume most Linux distributions provides an exim package, and also most of them supplies /etc/logrotate.d/exim along their exim package. I want to raise the following issues:
- The file /etc/logrotate.d/exim has a delaycompress line, but no compress line. According to https://man.archlinux.org/man/logrotate.8#delaycompress, "This only has effect when used in combination with compress". In my opinion, the compress directive should be added to the supplied file.
- Should exim mentions logrotate as optdepends?
Additional info:
- package version(s): exim 4.96-2, and possibly many older.
- config and/or log files etc. https://gitlab.archlinux.org/archlinux/packaging/packages/exim/-/blob/main/exim.logrotate?ref_type=heads
- link to upstream bug report, if any. None that I could find.
Steps to reproduce: Examine https://gitlab.archlinux.org/archlinux/packaging/packages/exim/-/blob/main/exim.logrotate?ref_type=heads