Bug 1745330
Summary: | Logrotate fails to start on F30 (possibly others) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Steve Grubb <sgrubb> |
Component: | logrotate | Assignee: | Kamil Dudka <kdudka> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 30 | CC: | jkaluza, kdudka, svashisht |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | logrotate-3.15.1-1.fc32 logrotate-3.15.1-1.fc30 logrotate-3.15.1-1.fc31 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-09-08 02:58:50 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 2061561 |
Description
Steve Grubb
2019-08-25 12:30:09 UTC
(In reply to Steve Grubb from comment #0) > 1) /etc/logrotate.conf has entries for both wtmp and btmp. They should be > deleted in that file because they are also provided in /etc/logrotate.d/ as > standalone files. The entries are not in the /etc/logrotate.conf installed by the logrotate package any more. The problem is that /etc/logrotate.conf is tagged as %config(noreplace) in spec file, so it is not replaced by the new version if there are any local changes to that file. I am afraid that we are not able to merge the configuration file automatically in all cases. > 2) /etc/logrotate.d/btmp should set the permissions to 0660 rather than 0600 > because otherwise utmp cannot access the file. Strange. The create mode for btmp has not been changed since 2007 and nobody has complained about it yet: https://github.com/logrotate/logrotate/commit/c2f194b3#diff-922cea84131d2fc3963d3336b17c7fd6R24 I will open a pull request upstream to fix this... (In reply to Kamil Dudka from comment #1) > I will open a pull request upstream to fix this... https://github.com/logrotate/logrotate/pull/257 (In reply to Kamil Dudka from comment #2) > https://github.com/logrotate/logrotate/pull/257 pushed as https://github.com/logrotate/logrotate/commit/b1bddec3 FEDORA-2019-88f966235d has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-88f966235d logrotate-3.15.1-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-ffca24380e logrotate-3.15.1-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-88f966235d logrotate-3.15.1-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. logrotate-3.15.1-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report. logrotate-3.15.1-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report. |