Removing the ConditionACPower didn't help.  Still believe that systemd
starting the anacron job is the only way to get logrotate to run.  If
the anacron.service runs the only thing it appears to do is to run
0anacron which runs anacron -u.  This only sets the date in
/var/spool/anacron/cron.daily to the current date.  systemd will start
anacron after the first boot of the day and the system has AC power.
Rebooting the system after the first boot fail to have systemd start
anacron.  Don't yet understand that.  Going to run logrotate manually
for now.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1666875

Title:
  anacron does not execute cron.daily on start or restart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/anacron/+bug/1666875/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to