[Touch-packages] [Bug 1541730] Re: all cron.daily scripts are skipped on a day when unattended-upgrades triggers a reboot
Marking as released since we use the systemd timer now and are thus independent of cron. ** Changed in: unattended-upgrades (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unattended-upgrades in Ubuntu. https://bugs.launchpad.net/bugs/1541730 Title: all cron.daily scripts are skipped on a day when unattended-upgrades triggers a reboot Status in unattended-upgrades package in Ubuntu: Fix Released Bug description: When unattended-upgrades is configured to apply updates and Unattended-Upgrade::Automatic-Reboot is set to "true", and there's an update that requires a reboot, you'll find that none of the scripts in /etc/cron.daily were executed on that day. (To be more precise, none that are alphabetically after the 'apt' script, which is most of them.) It would be good if unattended-upgrades did the reboot from /etc/cron.daily/zzz-unattended-upgrade-reboot, so the other scripts get a chance to run first. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: unattended-upgrades 0.82.1ubuntu2.4 ProcVersionSignature: Ubuntu 3.13.0-77.121-generic 3.13.11-ckt32 Uname: Linux 3.13.0-77-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.19 Architecture: amd64 Date: Thu Feb 4 10:02:38 2016 PackageArchitecture: all SourcePackage: unattended-upgrades UpgradeStatus: Upgraded to trusty on 2014-09-16 (505 days ago) mtime.conffile..etc.apt.apt.conf.d.50unattended.upgrades: 2014-10-09T09:04:05 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1541730/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1541730] Re: all cron.daily scripts are skipped on a day when unattended-upgrades triggers a reboot
This appears to be fixed in 16.04 LTS, where unattended-reboots are scheduled by a systemd timer unit instead of /etc/cron.daily/apt. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unattended-upgrades in Ubuntu. https://bugs.launchpad.net/bugs/1541730 Title: all cron.daily scripts are skipped on a day when unattended-upgrades triggers a reboot Status in unattended-upgrades package in Ubuntu: Confirmed Bug description: When unattended-upgrades is configured to apply updates and Unattended-Upgrade::Automatic-Reboot is set to "true", and there's an update that requires a reboot, you'll find that none of the scripts in /etc/cron.daily were executed on that day. (To be more precise, none that are alphabetically after the 'apt' script, which is most of them.) It would be good if unattended-upgrades did the reboot from /etc/cron.daily/zzz-unattended-upgrade-reboot, so the other scripts get a chance to run first. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: unattended-upgrades 0.82.1ubuntu2.4 ProcVersionSignature: Ubuntu 3.13.0-77.121-generic 3.13.11-ckt32 Uname: Linux 3.13.0-77-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.19 Architecture: amd64 Date: Thu Feb 4 10:02:38 2016 PackageArchitecture: all SourcePackage: unattended-upgrades UpgradeStatus: Upgraded to trusty on 2014-09-16 (505 days ago) mtime.conffile..etc.apt.apt.conf.d.50unattended.upgrades: 2014-10-09T09:04:05 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1541730/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1541730] Re: all cron.daily scripts are skipped on a day when unattended-upgrades triggers a reboot
** Changed in: unattended-upgrades (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unattended-upgrades in Ubuntu. https://bugs.launchpad.net/bugs/1541730 Title: all cron.daily scripts are skipped on a day when unattended-upgrades triggers a reboot Status in unattended-upgrades package in Ubuntu: Confirmed Bug description: When unattended-upgrades is configured to apply updates and Unattended-Upgrade::Automatic-Reboot is set to "true", and there's an update that requires a reboot, you'll find that none of the scripts in /etc/cron.daily were executed on that day. (To be more precise, none that are alphabetically after the 'apt' script, which is most of them.) It would be good if unattended-upgrades did the reboot from /etc/cron.daily/zzz-unattended-upgrade-reboot, so the other scripts get a chance to run first. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: unattended-upgrades 0.82.1ubuntu2.4 ProcVersionSignature: Ubuntu 3.13.0-77.121-generic 3.13.11-ckt32 Uname: Linux 3.13.0-77-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.19 Architecture: amd64 Date: Thu Feb 4 10:02:38 2016 PackageArchitecture: all SourcePackage: unattended-upgrades UpgradeStatus: Upgraded to trusty on 2014-09-16 (505 days ago) mtime.conffile..etc.apt.apt.conf.d.50unattended.upgrades: 2014-10-09T09:04:05 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1541730/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1541730] Re: all cron.daily scripts are skipped on a day when unattended-upgrades triggers a reboot
Can't seem to edit my own post. Disregard the last paragraph about reboot-required, I need to look into that a little further, -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unattended-upgrades in Ubuntu. https://bugs.launchpad.net/bugs/1541730 Title: all cron.daily scripts are skipped on a day when unattended-upgrades triggers a reboot Status in unattended-upgrades package in Ubuntu: Confirmed Bug description: When unattended-upgrades is configured to apply updates and Unattended-Upgrade::Automatic-Reboot is set to "true", and there's an update that requires a reboot, you'll find that none of the scripts in /etc/cron.daily were executed on that day. (To be more precise, none that are alphabetically after the 'apt' script, which is most of them.) It would be good if unattended-upgrades did the reboot from /etc/cron.daily/zzz-unattended-upgrade-reboot, so the other scripts get a chance to run first. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: unattended-upgrades 0.82.1ubuntu2.4 ProcVersionSignature: Ubuntu 3.13.0-77.121-generic 3.13.11-ckt32 Uname: Linux 3.13.0-77-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.19 Architecture: amd64 Date: Thu Feb 4 10:02:38 2016 PackageArchitecture: all SourcePackage: unattended-upgrades UpgradeStatus: Upgraded to trusty on 2014-09-16 (505 days ago) mtime.conffile..etc.apt.apt.conf.d.50unattended.upgrades: 2014-10-09T09:04:05 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1541730/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1541730] Re: all cron.daily scripts are skipped on a day when unattended-upgrades triggers a reboot
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 Touch seeded packages, which is subscribed to unattended-upgrades in Ubuntu. https://bugs.launchpad.net/bugs/1541730 Title: all cron.daily scripts are skipped on a day when unattended-upgrades triggers a reboot Status in unattended-upgrades package in Ubuntu: Confirmed Bug description: When unattended-upgrades is configured to apply updates and Unattended-Upgrade::Automatic-Reboot is set to "true", and there's an update that requires a reboot, you'll find that none of the scripts in /etc/cron.daily were executed on that day. (To be more precise, none that are alphabetically after the 'apt' script, which is most of them.) It would be good if unattended-upgrades did the reboot from /etc/cron.daily/zzz-unattended-upgrade-reboot, so the other scripts get a chance to run first. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: unattended-upgrades 0.82.1ubuntu2.4 ProcVersionSignature: Ubuntu 3.13.0-77.121-generic 3.13.11-ckt32 Uname: Linux 3.13.0-77-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.19 Architecture: amd64 Date: Thu Feb 4 10:02:38 2016 PackageArchitecture: all SourcePackage: unattended-upgrades UpgradeStatus: Upgraded to trusty on 2014-09-16 (505 days ago) mtime.conffile..etc.apt.apt.conf.d.50unattended.upgrades: 2014-10-09T09:04:05 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1541730/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1541730] Re: all cron.daily scripts are skipped on a day when unattended-upgrades triggers a reboot
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: unattended-upgrades (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unattended-upgrades in Ubuntu. https://bugs.launchpad.net/bugs/1541730 Title: all cron.daily scripts are skipped on a day when unattended-upgrades triggers a reboot Status in unattended-upgrades package in Ubuntu: Confirmed Bug description: When unattended-upgrades is configured to apply updates and Unattended-Upgrade::Automatic-Reboot is set to "true", and there's an update that requires a reboot, you'll find that none of the scripts in /etc/cron.daily were executed on that day. (To be more precise, none that are alphabetically after the 'apt' script, which is most of them.) It would be good if unattended-upgrades did the reboot from /etc/cron.daily/zzz-unattended-upgrade-reboot, so the other scripts get a chance to run first. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: unattended-upgrades 0.82.1ubuntu2.4 ProcVersionSignature: Ubuntu 3.13.0-77.121-generic 3.13.11-ckt32 Uname: Linux 3.13.0-77-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.19 Architecture: amd64 Date: Thu Feb 4 10:02:38 2016 PackageArchitecture: all SourcePackage: unattended-upgrades UpgradeStatus: Upgraded to trusty on 2014-09-16 (505 days ago) mtime.conffile..etc.apt.apt.conf.d.50unattended.upgrades: 2014-10-09T09:04:05 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1541730/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1541730] Re: all cron.daily scripts are skipped on a day when unattended-upgrades triggers a reboot
** Tags added: rls-x-incoming -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unattended-upgrades in Ubuntu. https://bugs.launchpad.net/bugs/1541730 Title: all cron.daily scripts are skipped on a day when unattended-upgrades triggers a reboot Status in unattended-upgrades package in Ubuntu: New Bug description: When unattended-upgrades is configured to apply updates and Unattended-Upgrade::Automatic-Reboot is set to "true", and there's an update that requires a reboot, you'll find that none of the scripts in /etc/cron.daily were executed on that day. (To be more precise, none that are alphabetically after the 'apt' script, which is most of them.) It would be good if unattended-upgrades did the reboot from /etc/cron.daily/zzz-unattended-upgrade-reboot, so the other scripts get a chance to run first. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: unattended-upgrades 0.82.1ubuntu2.4 ProcVersionSignature: Ubuntu 3.13.0-77.121-generic 3.13.11-ckt32 Uname: Linux 3.13.0-77-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.19 Architecture: amd64 Date: Thu Feb 4 10:02:38 2016 PackageArchitecture: all SourcePackage: unattended-upgrades UpgradeStatus: Upgraded to trusty on 2014-09-16 (505 days ago) mtime.conffile..etc.apt.apt.conf.d.50unattended.upgrades: 2014-10-09T09:04:05 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1541730/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp