[Bug 1458204] Re: removing kernels should not require a restart afterward

2019-04-25 Thread Launchpad Bug Tracker
This bug was fixed in the package unattended-upgrades - 1.1ubuntu1.18.04.7~16.04.2 --- unattended-upgrades (1.1ubuntu1.18.04.7~16.04.2) xenial; urgency=medium * Don't check blacklist too early and report updates from not allowed origins as kept back. (LP: #1781176) *

[Bug 1458204] Re: removing kernels should not require a restart afterward

2019-03-13 Thread Mathew Hodson
** Tags removed: rls-aa-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1458204 Title: removing kernels should not require a restart afterward To manage notifications about this bug go to:

[Bug 1458204] Re: removing kernels should not require a restart afterward

2019-03-13 Thread Balint Reczey
Tested 1.1ubuntu1.18.04.7~16.04.2 on Xenial. root@x-uu-lp-1260041:~# yes no |apt-get autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: linux-image-4.8.0-53-generic

[Bug 1458204] Re: removing kernels should not require a restart afterward

2019-03-13 Thread Balint Reczey
@bhkolts: Yes, not sending an email when only kernel autoremovals took place is a regression - or an incomplete part of the kernel autoremoval. It is fixed in 19.04, but the fix is somewhat intrusive thus it may not be back-ported. -- You received this bug notification because you are a member

[Bug 1458204] Re: removing kernels should not require a restart afterward

2019-03-02 Thread Mathew Hodson
** No longer affects: linux (Ubuntu) ** No longer affects: linux (Ubuntu Artful) ** Project changed: unattended-upgrades => ubuntu-translations ** No longer affects: ubuntu-translations ** Project changed: update-notifier => ubuntu-translations ** No longer affects: ubuntu-translations **

[Bug 1458204] Re: removing kernels should not require a restart afterward

2019-02-28 Thread Ɓukasz Zemczak
Hello Daniel, or anyone else affected, Accepted unattended-upgrades into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source /unattended-upgrades/1.1ubuntu1.18.04.7~16.04.2 in a few hours, and then in the -proposed repository. Please help us by

[Bug 1458204] Re: removing kernels should not require a restart afterward

2019-01-08 Thread Launchpad Bug Tracker
This bug was fixed in the package update-notifier - 3.168.10 --- update-notifier (3.168.10) xenial; urgency=medium [ Julian Andres Klode ] * Do not notify-reboot-required on linux-image-extra removal (LP: #1458204) -- Balint Reczey Fri, 07 Dec 2018 11:14:24 +0100 ** Changed

[Bug 1458204] Re: removing kernels should not require a restart afterward

2018-12-22 Thread Barry Kolts
I also can verify 1.1ubuntu1.18.04.7~16.04.1. Yesterday new kernels were installed and a reboot performed. Today old kernel was removed and no reboot performed. This test also used the new update-notifier-common version 3.168.10. Yesterday I received an email telling me that new kernels had been

[Bug 1458204] Re: removing kernels should not require a restart afterward

2018-12-21 Thread Jarno Suni
Verified unattended-upgrades 1.1ubuntu1.18.04.7~16.04.1 ** Tags removed: verification-needed-xenial ** Tags added: verification-done-xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1458204

[Bug 1458204] Re: removing kernels should not require a restart afterward

2018-12-14 Thread Jarno Suni
I can verify the update-notifier 3.168.10 Did not test unattended-upgrades Did not change the tag since it is the same for unattended-upgrades unfortunately. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1458204] Re: removing kernels should not require a restart afterward

2018-12-10 Thread Balint Reczey
@bhkolts Please just upgrade update-notifier-common. Timo's automated notification email referred to the source package from which both binary packages are built. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1458204] Re: removing kernels should not require a restart afterward

2018-12-08 Thread Barry Kolts
@tjaalton My 16.04 server doesn't have update-notifier installed but does have update-notifier-common installed. If I install update-notifier from propose it will install a slew of other packages. If I install update- notifier-common from propose it just installs the new update-notifier- common

[Bug 1458204] Re: removing kernels should not require a restart afterward

2018-12-07 Thread Timo Aaltonen
Hello Daniel, or anyone else affected, Accepted update-notifier into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/update- notifier/3.168.10 in a few hours, and then in the -proposed repository. Please help us by testing this new package.

[Bug 1458204] Re: removing kernels should not require a restart afterward

2018-12-07 Thread Balint Reczey
It looks like Brian can't do it either, but I uploaded the fix for update-notifier in Xenial. ** Description changed: + [Impact] + + The rationale behind the SRU to Xenial is that with latest unattended- + upgrades SRU it starts removing unused kernels, but all older kernels + are not removed

[Bug 1458204] Re: removing kernels should not require a restart afterward

2018-12-06 Thread Balint Reczey
@bhkolts: Thank you for your feedback. Linux-image- extra-4.4.0-138-generic.postrm still runs /etc/kernel/postinst.d/update- notifier that places /var/run/reboot-required, the file u-u acts upon and reboots. Update-notifier is fixed in Bionic, but I'm hereby nominating the fix for Xenial. --

[Bug 1458204] Re: removing kernels should not require a restart afterward

2018-12-06 Thread Balint Reczey
No, I can't nominate it. :-) Brian, could you please do nominate this for u-n in Xenial? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1458204 Title: removing kernels should not require a restart

[Bug 1458204] Re: removing kernels should not require a restart afterward

2018-12-05 Thread Barry Kolts
Brian, On Dec 3rd I installed from xenial-proposed version 1.1ubuntu1.18.04.7~16.04.0. On Dec 4th unattended-upgrades installed new kernel and rebooted, as it should. Today, Dec 5 unattended-upgrades removed old kernels, which it should do, and then rebooted which it shouldn't do. I have

[Bug 1458204] Re: removing kernels should not require a restart afterward

2018-12-03 Thread Brian Murray
Hello Daniel, or anyone else affected, Accepted unattended-upgrades into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source /unattended-upgrades/1.1ubuntu1.18.04.7~16.04.0 in a few hours, and then in the -proposed repository. Please help us by

[Bug 1458204] Re: removing kernels should not require a restart afterward

2018-12-03 Thread Brian Murray
** Changed in: unattended-upgrades (Ubuntu Artful) Status: Confirmed => Won't Fix ** Changed in: update-notifier (Ubuntu Artful) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1458204] Re: removing kernels should not require a restart afterward

2018-01-26 Thread Launchpad Bug Tracker
This bug was fixed in the package update-notifier - 3.189 --- update-notifier (3.189) bionic; urgency=medium * Do not notify-reboot-required on linux-image-extra removal (LP: #1458204) -- Julian Andres Klode Fri, 12 Jan 2018 09:51:27 +0100 ** Changed in:

[Bug 1458204] Re: removing kernels should not require a restart afterward

2018-01-26 Thread Launchpad Bug Tracker
This bug was fixed in the package unattended-upgrades - 0.98ubuntu4 --- unattended-upgrades (0.98ubuntu4) bionic; urgency=medium * Cherry pick from git: - Fix version of test package in test_remove_unused_dependencies (Closes: #886803) -- Julian Andres Klode

[Bug 1458204] Re: removing kernels should not require a restart afterward

2018-01-12 Thread Julian Andres Klode
Fixed that for now in unattended-upgrades and update-notifier by adding case "$DPKG_MAINTSCRIPT_PACKAGE::$DPKG_MAINTSCRIPT_NAME" in linux-image-extra*::postrm) exit 0;; esac We can then still decide if we want to run postinst.d scripts in linux- image-extra removals or not, but let's

[Bug 1458204] Re: removing kernels should not require a restart afterward

2017-09-29 Thread Francis Ginther
** Tags added: id-597a82bd36308ac7a63cff29 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1458204 Title: removing kernels should not require a restart afterward To manage notifications about this

[Bug 1458204] Re: removing kernels should not require a restart afterward

2017-07-13 Thread Dave Chiluk
** Tags added: indeed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1458204 Title: removing kernels should not require a restart afterward To manage notifications about this bug go to:

[Bug 1458204] Re: removing kernels should not require a restart afterward

2017-06-09 Thread Brian Murray
** Changed in: linux (Ubuntu) Assignee: (unassigned) => Adam Conrad (adconrad) ** Also affects: update-notifier (Ubuntu Artful) Importance: Low Status: Confirmed ** Also affects: unattended-upgrades (Ubuntu Artful) Importance: Low Status: Confirmed ** Also affects:

[Bug 1458204] Re: removing kernels should not require a restart afterward

2017-06-07 Thread Brian Murray
** Changed in: unattended-upgrades (Ubuntu) Importance: Undecided => Low ** Changed in: update-notifier (Ubuntu) Importance: Undecided => Low -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1458204] Re: removing kernels should not require a restart afterward

2017-05-27 Thread Jarno Suni
Because the code can be applied in many kernel post-installation scripts, I have attached it in Bug #1501884 and further updates go there. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1458204 Title:

[Bug 1458204] Re: removing kernels should not require a restart afterward

2017-05-25 Thread Jarno Suni
** Attachment added: "code to add in probably all post-installation scripts except initramfs-tools and dkms to exit them before their job in case removing linux-image-extra" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1458204/+attachment/4883521/+files/addition2 ** Patch removed:

[Bug 1458204] Re: removing kernels should not require a restart afterward

2017-05-25 Thread Jarno Suni
** Patch removed: "code to add before touching /var/run/reboot-required in post-installation scripts" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1458204/+attachment/4881881/+files/addition -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1458204] Re: removing kernels should not require a restart afterward

2017-05-25 Thread Jarno Suni
The code could be added to /etc/kernel/postinst.d/zz-update-grub, too, to avoid unnecessarily updating grub. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1458204 Title: removing kernels should not

[Bug 1458204] Re: removing kernels should not require a restart afterward

2017-05-24 Thread Jarno Suni
An exception for linux-image-extra packages can be added in /etc/kernel/postinst.d/update-notifier and in /etc/kernel/postinst.d /unattended-upgrades Also escape '+' characters, as package name may contain those: https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Source **

[Bug 1458204] Re: removing kernels should not require a restart afterward

2017-05-23 Thread Brian Murray
** Tags added: rls-aa-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1458204 Title: removing kernels should not require a restart afterward To manage notifications about this bug go to:

[Bug 1458204] Re: removing kernels should not require a restart afterward

2017-05-23 Thread Ubuntu Foundations Team Bug Bot
The attachment "code to add before touching /var/run/reboot-required in post-installation scripts" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an

[Bug 1458204] Re: removing kernels should not require a restart afterward

2017-05-23 Thread Jarno Suni
An exception for linux-image-extra packages can be added in /etc/kernel/postinst.d/update-notifier and in /etc/kernel/postinst.d /unattended-upgrades ** Attachment added: "code to add before touching /var/run/reboot-required in post-installation scripts"

[Bug 1458204] Re: removing kernels should not require a restart afterward

2017-05-13 Thread Launchpad Bug Tracker
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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1458204

[Bug 1458204] Re: removing kernels should not require a restart afterward

2017-05-13 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: update-notifier (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1458204

[Bug 1458204] Re: removing kernels should not require a restart afterward

2017-05-13 Thread Jarno Suni
Steve Langasek, such a bug has been reported (Bug #1501884) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1458204 Title: removing kernels should not require a restart afterward To manage

[Bug 1458204] Re: removing kernels should not require a restart afterward

2017-05-01 Thread Jarno Suni
Yes, it is odd. I think the post-installation scripts will be run because the depending linux-image- package might not get removed (and is present at the time anyway), thus initramfs-tools is used to create /boot/initrd.img- without the extra kernel modules provided by linux-image-extra-. I guess

[Bug 1458204] Re: removing kernels should not require a restart afterward

2017-04-30 Thread Steve Langasek
Why does *removing* a linux-image-extra package cause post-*installation* scripts to be run? This sounds like a bug on the kernel side, to me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1458204

[Bug 1458204] Re: removing kernels should not require a restart afterward

2017-04-30 Thread Jarno Suni
When removing a linux-image-extra package, kernel post-installation scripts including /etc/kernel/postinst.d/update-notifier will be run. That is a symbolic link to /usr/share/update-notifier/notify-reboot- required, which can be modified to fix this bug. -- You received this bug notification

[Bug 1458204] Re: removing kernels should not require a restart afterward

2017-04-30 Thread Jarno Suni
** Also affects: update-notifier (Ubuntu) Importance: Undecided Status: New ** Also affects: update-notifier Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1458204] Re: removing kernels should not require a restart afterward

2016-02-02 Thread Cavsfan
I could not successfully run the command. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1458204 Title: removing kernels should not require a restart afterward To manage notifications about this

[Bug 1458204] Re: removing kernels should not require a restart afterward

2015-05-27 Thread Christopher M. Penalver
** Changed in: linux (Ubuntu) Importance: Undecided = Low -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1458204 Title: removing kernels should not require a restart afterward To manage

[Bug 1458204] Re: removing kernels should not require a restart afterward

2015-05-26 Thread Daniel Barrett
apport information ** Tags added: apport-collected ** Description changed: 1. Perform a kernel upgrade normally via apt-get dist-upgrade. 2. Reboot. 3. Run apt-get autoremove to delete the old kernel packages. 4. System Notification Helper now reports that the computer requires a