[Bug 1104290] Re: Doesn't warn that update will require restart (XB-Restart-Required)

Matthew Paul Thomas mpt at canonical.com
Tue Mar 17 16:57:20 UTC 2015


Adam, when the feature was implemented in Software Updater, I reported
this bug on glibc and bug 1104289 on linux, as they were the two
packages I knew of where you need to restart for an update to take
effect. It hasn't been implemented in either package yet.

Since you know far more than me about this, it would be great if you
could clone this bug report for any other appropriate packages -- or
just comment here listing the packages. I read that dbus and linux-
firmware fall into the restart-required category, but I don't know how
reliable that information is. Perhaps the source archive could be
grepped to see which packages create /var/run/reboot-required in their
postinst. Or perhaps the best result would be for a Debian package build
tool to add the line to debian/control automatically based on scanning
the postinst?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1104290

Title:
  Doesn't warn that update will require restart (XB-Restart-Required)

Status in One Hundred Papercuts:
  Triaged
Status in glibc package in Ubuntu:
  New

Bug description:
  Ubuntu 12.10, Ubuntu 14.04

  1. Wait for an update to glibc to become available.
  2. Open Software Updater.
  3. Expand the "Details of updates" section.
  4. Expand the "Ubuntu Base" section.

  What you should see:
  2. A restart icon and the text "The computer will need to restart afterwards.".
  3. A restart icon next to "Ubuntu Base".
  4. A restart icon next to "Embedded GNU C Library: Binaries".

  What you actually see: No such restart icons.

  When updating a package requires restarting the computer, it is good
  for Software Updater to show this *before* installation begins. That
  way, if you need to ration updates for any reason, you can batch
  together those updates that require a restart, minimizing downtime and
  installation time.

  To allow this, the new Software Updater UI puts a restart icon next to an individual update -- with an explanation below the list of updates -- if that update's debian/control file contains the XB-Restart-Required key.
  <https://wiki.ubuntu.com/SoftwareUpdates#expanded>

  glibc packages should set this key, but currently do not. Fixing this
  should be a one-line change.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1104290/+subscriptions



More information about the foundations-bugs mailing list