← Back to team overview

ubuntu-translations-coordinators team mailing list archive

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

 

You have been subscribed to a public bug:

[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/reboot-required asking for a reboot when it is not
needed.


[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/reboot-required file is too broad it may make kernel upgrades fail to ask for reboot. The fix changes a hook called by maintainer scripts and a failure in the hook can make kernel package installations fail.
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
ProcVersionSignature: Ubuntu 3.13.0-53.89-generic 3.13.11-ckt19
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=UUID=66f11ff7-00bb-4452-9168-003cf9078308
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=/boot/vmlinuz-3.13.0-53-generic root=UUID=02741f1f-8107-4a0f-b9a6-31ef470b1389 ro libata.force=noncq quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.13.0-53.89-generic 3.13.11-ckt19
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-53-generic N/A
 linux-backports-modules-3.13.0-53-generic  N/A
 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.asset.tag: To be filled by O.E.M.
dmi.board.name: P9X79
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr4210:bd08/12/2013:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnP9X79:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

** Affects: ubuntu-translations
     Importance: Undecided
         Status: New

** Affects: update-notifier
     Importance: Undecided
         Status: New

** Affects: unattended-upgrades (Ubuntu)
     Importance: Low
         Status: Fix Released

** Affects: update-notifier (Ubuntu)
     Importance: Low
         Status: Fix Released

** Affects: unattended-upgrades (Ubuntu Xenial)
     Importance: Undecided
         Status: Fix Committed

** Affects: update-notifier (Ubuntu Xenial)
     Importance: Undecided
         Status: Fix Released

** Affects: unattended-upgrades (Ubuntu Artful)
     Importance: Low
         Status: Won't Fix

** Affects: update-notifier (Ubuntu Artful)
     Importance: Low
         Status: Won't Fix


** Tags: amd64 apport-bug apport-collected id-597a82bd36308ac7a63cff29 indeed patch rls-aa-incoming trusty verification-needed verification-needed-xenial
-- 
removing kernels should not require a restart afterward
https://bugs.launchpad.net/bugs/1458204
You received this bug notification because you are a member of Ubuntu Translations Coordinators, which is subscribed to Ubuntu Translations.