Bug 2189206

Summary: Bad logrotate script
Product: [Fedora] Fedora Reporter: Artur Penttinen <artur.penttinen>
Component: certbotAssignee: Nick Bebout <nb>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: anon.amish, certbot-sig, luk.claes, nb, richardfearn
Target Milestone: ---Keywords: Regression
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:51 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 Artur Penttinen 2023-04-24 12:48:28 UTC
cat ./etc/logrotate.d/certbot
# Automated renewal of certificates

The Fedora certbot package includes an optional systemd timer to handle renewals.

This timer is set to run daily, with a random fudge factor of a 6 hours applied.

To enable the timer based renewals:

```
systemctl enable --now certbot-renew.timer
```

The timer makes use of /etc/sysconfig/certbot to customise the behaviour.

Unless there is a plugin that automates restarts (eg the apache plugin) it is
important to configure a command to restart anything that uses the certificates


Reproducible: Always

Steps to Reproduce:
1.cat /etc/logrotate.d/certbot
2.
3. 
Actual Results:  
# Automated renewal of certificates

The Fedora certbot package includes an optional systemd timer to handle renewals.

This timer is set to run daily, with a random fudge factor of a 6 hours applied.

To enable the timer based renewals:

```
systemctl enable --now certbot-renew.timer
```

The timer makes use of /etc/sysconfig/certbot to customise the behaviour.

Unless there is a plugin that automates restarts (eg the apache plugin) it is
important to configure a command to restart anything that uses the certificates


Expected Results:  
Some logrotate script

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

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

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