Bug#788358: unattended-upgrades: Automatic-Reboot function is now broken
On Fri, Jun 12, 2015 at 12:19:54PM +0100, John Smith wrote: Ok, thanks. Will this fix be applied to my existing Jessie installation somehow via the usual apt-get upgrade? I uploaded a new version to stable-updates. On 12 June 2015 at 12:09, Michael Vogt m...@debian.org wrote: This got fixed in version 0.83.4: -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#788358: unattended-upgrades: Automatic-Reboot function is now broken
Ok, thanks. Will this fix be applied to my existing Jessie installation somehow via the usual apt-get upgrade? On 12 June 2015 at 12:09, Michael Vogt m...@debian.org wrote: This got fixed in version 0.83.4:
Bug#788358: unattended-upgrades: Automatic-Reboot function is now broken
On Wed, Jun 10, 2015 at 04:12:39PM +0100, coder5 wrote: Package: unattended-upgrades Version: 0.83.3.1 Severity: normal Thanks for your bugreport. The update-notifier-common package has been removed from Jessie and as a result, /var/run/reboot-required will never be created. Consequently, the Automatic-Reboot option will never cause the system to reboot after an upgrade which requires one. Therefore unattended-upgrades needs some other way of determining if the system needs a post-upgrade reboot. This got fixed in version 0.83.4: unattended-upgrades (0.83.4) unstable; urgency=medium [ Alexandre Detiste ] * fix sending dpkg log in mails (Closes: #776752) [ Michael Vogt ] * Document how the reboot-required file is generated (Closes: #776769) * Add recommends to cron|cron-daemon|anacron (Closes: #776550), thanks to Alexandre Detiste and christophe * Ship /etc/kernel/postinst.d hook to ensure the /var/run/reboot-required file is created (avoid the need to have update-notifier-common installed) (Closes: #776769) -- Michael Vogt m...@debian.org Tue, 10 Feb 2015 13:58:26 +0100 -- System Information: Debian Release: 8.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages unattended-upgrades depends on: ii apt1.0.9.8 ii apt-utils 1.0.9.8 ii debconf [debconf-2.0] 1.5.56 ii init-system-helpers1.22 ii lsb-base 4.1+Debian13+nmu1 ii lsb-release4.1+Debian13+nmu1 ii python33.4.2-2 ii python3-apt0.9.3.11 ii ucf3.0030 ii xz-utils 5.1.1alpha+20120614-2+b3 unattended-upgrades recommends no packages. Versions of packages unattended-upgrades suggests: ii bsd-mailx 8.1.2-0.20141216cvs-2 ii exim4-daemon-light [mail-transport-agent] 4.84-8 -- Configuration Files: /etc/apt/apt.conf.d/50unattended-upgrades changed: // Automatically upgrade packages from these (origin:archive) pairs Unattended-Upgrade::Allowed-Origins { ${distro_id}:${distro_codename}-security; ${distro_id}:${distro_codename}-updates; //${distro_id}:${distro_codename}-proposed; //${distro_id}:${distro_codename}-backports; }; // List of packages to not update (regexp are supported) Unattended-Upgrade::Package-Blacklist { //vim; //libc6; //libc6-dev; //libc6-i686; }; // This option allows you to control if on a unclean dpkg exit // unattended-upgrades will automatically run // dpkg --force-confold --configure -a // The default is true, to ensure updates keep getting installed //Unattended-Upgrade::AutoFixInterruptedDpkg false; // Split the upgrade into the smallest possible chunks so that // they can be interrupted with SIGUSR1. This makes the upgrade // a bit slower but it has the benefit that shutdown while a upgrade // is running is possible (with a small delay) //Unattended-Upgrade::MinimalSteps true; // Install all unattended-upgrades when the machine is shuting down // instead of doing it in the background while the machine is running // This will (obviously) make shutdown slower //Unattended-Upgrade::InstallOnShutdown true; // Send email to this address for problems or packages upgrades // If empty or unset then no email is sent, make sure that you // have a working mail setup on your system. A package that provides // 'mailx' must be installed. E.g. u...@example.com //Unattended-Upgrade::Mail root; // Set this value to true to get emails only on errors. Default // is to always send a mail if Unattended-Upgrade::Mail is set //Unattended-Upgrade::MailOnlyOnError true; // Do automatic removal of new unused dependencies after the upgrade // (equivalent to apt-get autoremove) //Unattended-Upgrade::Remove-Unused-Dependencies false; Unattended-Upgrade::Remove-Unused-Dependencies true; // Automatically reboot *WITHOUT CONFIRMATION* // if the file /var/run/reboot-required is found after the upgrade //Unattended-Upgrade::Automatic-Reboot false; Unattended-Upgrade::Automatic-Reboot true; // If automatic reboot is enabled and needed, reboot at the specific // time instead of immediately // Default: now //Unattended-Upgrade::Automatic-Reboot-Time 02:00; // Use apt bandwidth limit feature, this example limits the download // speed to 70kb/sec //Acquire::http::Dl-Limit 70; -- debconf information: * unattended-upgrades/enable_auto_updates: true -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#788358: unattended-upgrades: Automatic-Reboot function is now broken
Package: unattended-upgrades Version: 0.83.3.1 Severity: normal The update-notifier-common package has been removed from Jessie and as a result, /var/run/reboot-required will never be created. Consequently, the Automatic-Reboot option will never cause the system to reboot after an upgrade which requires one. Therefore unattended-upgrades needs some other way of determining if the system needs a post-upgrade reboot. -- System Information: Debian Release: 8.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages unattended-upgrades depends on: ii apt1.0.9.8 ii apt-utils 1.0.9.8 ii debconf [debconf-2.0] 1.5.56 ii init-system-helpers1.22 ii lsb-base 4.1+Debian13+nmu1 ii lsb-release4.1+Debian13+nmu1 ii python33.4.2-2 ii python3-apt0.9.3.11 ii ucf3.0030 ii xz-utils 5.1.1alpha+20120614-2+b3 unattended-upgrades recommends no packages. Versions of packages unattended-upgrades suggests: ii bsd-mailx 8.1.2-0.20141216cvs-2 ii exim4-daemon-light [mail-transport-agent] 4.84-8 -- Configuration Files: /etc/apt/apt.conf.d/50unattended-upgrades changed: // Automatically upgrade packages from these (origin:archive) pairs Unattended-Upgrade::Allowed-Origins { ${distro_id}:${distro_codename}-security; ${distro_id}:${distro_codename}-updates; // ${distro_id}:${distro_codename}-proposed; // ${distro_id}:${distro_codename}-backports; }; // List of packages to not update (regexp are supported) Unattended-Upgrade::Package-Blacklist { // vim; // libc6; // libc6-dev; // libc6-i686; }; // This option allows you to control if on a unclean dpkg exit // unattended-upgrades will automatically run // dpkg --force-confold --configure -a // The default is true, to ensure updates keep getting installed //Unattended-Upgrade::AutoFixInterruptedDpkg false; // Split the upgrade into the smallest possible chunks so that // they can be interrupted with SIGUSR1. This makes the upgrade // a bit slower but it has the benefit that shutdown while a upgrade // is running is possible (with a small delay) //Unattended-Upgrade::MinimalSteps true; // Install all unattended-upgrades when the machine is shuting down // instead of doing it in the background while the machine is running // This will (obviously) make shutdown slower //Unattended-Upgrade::InstallOnShutdown true; // Send email to this address for problems or packages upgrades // If empty or unset then no email is sent, make sure that you // have a working mail setup on your system. A package that provides // 'mailx' must be installed. E.g. u...@example.com //Unattended-Upgrade::Mail root; // Set this value to true to get emails only on errors. Default // is to always send a mail if Unattended-Upgrade::Mail is set //Unattended-Upgrade::MailOnlyOnError true; // Do automatic removal of new unused dependencies after the upgrade // (equivalent to apt-get autoremove) //Unattended-Upgrade::Remove-Unused-Dependencies false; Unattended-Upgrade::Remove-Unused-Dependencies true; // Automatically reboot *WITHOUT CONFIRMATION* // if the file /var/run/reboot-required is found after the upgrade //Unattended-Upgrade::Automatic-Reboot false; Unattended-Upgrade::Automatic-Reboot true; // If automatic reboot is enabled and needed, reboot at the specific // time instead of immediately // Default: now //Unattended-Upgrade::Automatic-Reboot-Time 02:00; // Use apt bandwidth limit feature, this example limits the download // speed to 70kb/sec //Acquire::http::Dl-Limit 70; -- debconf information: * unattended-upgrades/enable_auto_updates: true -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org