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

Bug #1104290 reported by Matthew Paul Thomas on 2013-01-24
This bug affects 2 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
glibc (Ubuntu)

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.

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

Adolfo Jayme (fitojb) on 2014-06-25
Changed in hundredpapercuts:
status: New → Triaged
importance: Undecided → High
Changed in glibc (Ubuntu):
importance: Undecided → High


I am new here! (working with Mozilla projects for a while)

May I know if this bug is still valid? If so, what packages do I need to build and what language would I be using?

description: updated
description: updated
Matthew Paul Thomas (mpt) wrote :

Hi Shashank. Yes, the bug is still valid. As far as I know, you don't need any particular language to fix it; you just need to add the missing line to the "libc-bin" section of this file. <>

Adam Conrad (adconrad) wrote :

I don't see this key set in the Packages file for any binaries in trusty? Is anyone actually using this?

Adam Conrad (adconrad) wrote :

And by trusty, I mean vivid...

Matthew Paul Thomas (mpt) wrote :

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?

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in glibc (Ubuntu):
status: New → Confirmed
Diego (dmggears3) on 2016-11-17
Changed in hundredpapercuts:
status: Triaged → Confirmed
Changed in glibc (Ubuntu):
status: Confirmed → Fix Committed
status: Fix Committed → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers