Bug 2188930

Summary: /etc/logrotate.d/certbot causes logrotate to fail
Product: [Fedora] Fedora Reporter: Bill Pemberton <wfp5p>
Component: certbotAssignee: Nick Bebout <nb>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 38CC: anon.amish, certbot-sig, luk.claes, nb, richardfearn
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-25 07:57:42 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 Bill Pemberton 2023-04-23 13:08:05 UTC
The file /etc/logrotate/certbot is essentially a notes file and in any way a valid logrotate config file.  As a result it's presence causes logrotate to fail.

Reproducible: Always

Steps to Reproduce:
1.install certbot
2.wait for logrotate run, or run it manually with systemctl start logrotate.service 
3.run systemctl status logrotate.service to see the errors resulting.
Actual Results:  
Logrotate fails to run with an error

Expected Results:  
Logrotate runs normally.

The file /etc/logrotate.d/cerbot should be all commented out using # or otherwise not be installed.

Comment 1 Richard Fearn 2023-04-25 07:57:42 UTC

*** This bug has been marked as a duplicate of bug 2187543 ***

Comment 2 Richard Fearn 2023-04-25 08:00:28 UTC
See bug 2187543 comment 1 for a workaround