Bug 2189206 - Bad logrotate script
Summary: Bad logrotate script
Keywords:
Status: CLOSED DUPLICATE of bug 2187543
Alias: None
Product: Fedora
Classification: Fedora
Component: certbot
Version: 38
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Nick Bebout
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-24 12:48 UTC by Artur Penttinen
Modified: 2023-04-25 08:00 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-04-25 07:57:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.