removing kernels should not require a restart afterward
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unattended-upgrades (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Xenial |
Fix Released
|
Low
|
Unassigned | ||
Artful |
Won't Fix
|
Low
|
Unassigned | ||
update-notifier (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Xenial |
Fix Released
|
Low
|
Unassigned | ||
Artful |
Won't Fix
|
Low
|
Unassigned |
Bug Description
[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 in a single run. With update-notifier and u-u not fixed they place /var/run/
[Test Case]
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 reboot.
The "autoremove" operation shouldn't require a reboot, logically speaking, because it's just removing files that are unused by the OS.
[ Regression Potential ]
If the check for skipping placing the /var/run/
The fix is simple and was tested in several releases thus regressing in these ways is unlikely.
[ Original Bug Text ]
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: apt 1.0.1ubuntu2.7
ProcVersionSign
Uname: Linux 3.13.0-53-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
CurrentDesktop: KDE
Date: Sat May 23 12:47:15 2015
InstallationDate: Installed on 2013-08-31 (629 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
SourcePackage: apt
UpgradeStatus: Upgraded to trusty on 2014-04-26 (391 days ago)
---
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
CurrentDesktop: KDE
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=
InstallationDate: Installed on 2013-08-31 (632 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MachineType: System manufacturer System Product Name
Package: linux (not installed)
ProcFB: 0 nouveaufb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.127.12
RfKill:
Tags: trusty
Uname: Linux 3.13.0-53-generic x86_64
UpgradeStatus: Upgraded to trusty on 2014-04-26 (395 days ago)
UserGroups: adm cdrom dialout dip fuse lightdm lpadmin plugdev sambashare sudo
WifiSyslog:
_MarkForUpload: True
dmi.bios.date: 08/12/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 4210
dmi.board.
dmi.board.name: P9X79
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
Changed in linux (Ubuntu): | |
importance: | Undecided → Low |
tags: | added: rls-aa-incoming |
Changed in unattended-upgrades (Ubuntu): | |
importance: | Undecided → Low |
Changed in update-notifier (Ubuntu): | |
importance: | Undecided → Low |
Changed in linux (Ubuntu): | |
assignee: | nobody → Adam Conrad (adconrad) |
tags: | added: indeed |
tags: | added: id-597a82bd36308ac7a63cff29 |
Changed in unattended-upgrades (Ubuntu Artful): | |
status: | Confirmed → Won't Fix |
Changed in update-notifier (Ubuntu Artful): | |
status: | Confirmed → Won't Fix |
no longer affects: | linux (Ubuntu) |
no longer affects: | linux (Ubuntu Artful) |
affects: | unattended-upgrades → ubuntu-translations |
no longer affects: | ubuntu-translations |
affects: | update-notifier → ubuntu-translations |
no longer affects: | ubuntu-translations |
Changed in unattended-upgrades (Ubuntu Xenial): | |
importance: | Undecided → Low |
Changed in update-notifier (Ubuntu Xenial): | |
importance: | Undecided → Low |
tags: | removed: rls-aa-incoming |
Entries for kernel versions appear in the grub boot menu and as such a reboot is required for the those kernel versions to disappear. I guess strictly speaking this isn't necessary and it looks like the control scripts for the Ubuntu kernel would need modifying to make this change.
The postinst file touches /usr/share/ update- notifier/ notify- reboot- required and maybe one of the rm scripts calls it.