Bug 2187543
| Summary: | Latest certbot-2.5.0-2 installs a logrotate configuration that causes logrotate.service to fail | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Brian Morrison <bdm> |
| Component: | certbot | Assignee: | Nick Bebout <nb> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 38 | CC: | anon.amish, artur.penttinen, certbot-sig, daniel-fedoauth, h1k6zn2m, jonathan, linux, luk.claes, nb, richardfearn, rthijssen, rudd-o, wfp5p |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | certbot-2.5.0-3.fc39 certbot-2.5.0-3.fc38 certbot-2.5.0-3.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-04-27 12:55:04 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Brian Morrison
2023-04-17 22:03:00 UTC
The reason for this, is line 254 in the spec file:
install -Dm 0644 --preserve-timestamps %{SOURCE14} %{buildroot}%{_sysconfdir}/logrotate.d/certbot
The sources are the following:
Source14: certbot-README.fedora
Source15: certbot.logrotate
Until this is fixed just paste this into %{_sysconfdir}/logrotate.d/certbot:
/var/log/letsencrypt/*.log {
rotate 12
weekly
compress
missingok
notifempty
}
Oh yes, I see, a 1 digit typo. Thanks for pointing that out, I hadn't installed the src rpm to check. *** Bug 2188930 has been marked as a duplicate of this bug. *** *** Bug 2189206 has been marked as a duplicate of this bug. *** here's a pr: https://src.fedoraproject.org/rpms/certbot/pull-request/10 this is my first attempt at a contribution so i hope i've done it correctly. Confirming here. I was hit by this bug. The workaround until upgrade is to remove /etc/logrotate.d/certbot. FEDORA-2023-1eee504747 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-1eee504747 FEDORA-EPEL-2023-355404d2b1 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-355404d2b1 FEDORA-2023-9b2f8e3e49 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-9b2f8e3e49 FEDORA-2023-98f6be7e17 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-98f6be7e17 FEDORA-2023-1eee504747 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. Please check the update in https://bodhi.fedoraproject.org/updates/?search=certbot-2.5.0-3, test the packages, and provide karma as applicable so we can get this fix to stable repos faster. FEDORA-2023-9b2f8e3e49 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-EPEL-2023-355404d2b1 has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report. |