I have noticed this too, at least with logrotate not running. I thought this 
was because the reboot happens right after, or during, unattended-upgrades. So 
I set the time to reboot to 7:30 AM in /etc/apt/apt.conf/50unattended-upgrades 
to give the rest of cron.daily time to run. However logrotate still did not 
run. And I assume neither did the rest of cron.daily. I believe 
unattended-upgrades issues 
shutdown -r 07:30
in my case. So I wondered if the impending shutdown was blocking logrotate, and 
the rest of cron.daily. However searching the Internet I could not confirm that 
theory. So I too think cron.daily/apt should be the last thing run in 
cron.daily.
One more issue that may be related. After the reboot /var/run/reboot-required 
and /var/run/reboot-required.pkgs still exist and the "*****System restart 
required****" message appearers  at logoin.

** Attachment added: "Apport report and 50unatended-upgrades file"
   
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1541730/+attachment/4692505/+files/apport.unattended-upgrades.fttw5049.apport

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

Title:
  all cron.daily scripts are skipped on a day when unattended-upgrades
  triggers a reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1541730/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to