Comment # 11 on bug 913421 from
(In reply to Vitezslav Cizek from comment #10)
> 
> It seems so, at least it's working fine for Dirk.
> This will solve the problem with systems that often go offline.
> 
> However the main issue is that the timer is initially disabled.
> This is how it looks right after the update from 13.1 to 13.2:
> 
> # systemctl status logrotate.timer  
> logrotate.timer - Daily rotation of log files
>    Loaded: loaded (/usr/lib/systemd/system/logrotate.timer; disabled)
>    Active: inactive (dead)
> 
> The timer is disabled for some reason.
> The daily logrotate is not triggered on 0:00.

Hm, not really sure why it doesn't get enabled.
The logrotate post script contains the correct code from the %service_add_post
macro.
What happens if you run:

/usr/bin/systemctl preset logrotate.service logrotate.timer

manually?
Does this enable the timer?


You are receiving this mail because: