"Restart Now" informational applet does not work

Bug #302326 reported by Ambricka
100
This bug affects 4 people
Affects Status Importance Assigned to Milestone
update-notifier (Ubuntu)
Fix Released
Medium
Chris Coulson

Bug Description

Description: Ubuntu jaunty (development branch)
Release: 9.04

About a week ago I upgraded to jaunty jackalope alpha 1.
The only "big" issue so far is that when an upgrade marks the system as in need of restart and the "restart needed"-notifier shows, nothing happens when I click the "Restart Now" button.
Manual restart via userswitcher-applet does work.

Revision history for this message
Ara Pulido (ara) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in update-notifier:
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Ara Pulido (ara) wrote :

I just experienced this error while updating my Jaunty virtualbox installation.

Revision history for this message
Mario Limonciello (superm1) wrote :

This is still present in the Jaunty daily from Jan 6, 2009 (shortly before alpha 3ish)

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

From one of the duplicates, this message gets printed to the console:

** (update-notifier:3430): CRITICAL **: request_reboot: assertion `client != NULL' failed

It seems that the call to gnome_master_client() returns NULL, so this might not be an update-notifier bug

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Perhaps update-notifer should be migrated to use the dbus interface to gnome-session for terminating the session, seeing as libgnomeui is basically deprecated and the rest of Gnome has been migrated to not depend on it.

I don't mind having a go at writing a patch to do that.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

gnome_master_client() returns NULL because gnome_program_init() is no longer called, due to this change:

  * do not use GnomeClient anymore on all places where this is
    possible - we can not remove it entirely (yet) because
    reboot.c depends on it to do a cross desktop session exit
    request

So, we could temporarily revert some of that change and call gnome_program_init() again, at least for the time being.

Changed in update-notifier:
assignee: nobody → chrisccoulson
status: Triaged → In Progress
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

I've written a patch so that gnome_program_init() is called again, and uploaded it in to my branch for review.

Changed in update-notifier:
status: In Progress → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-notifier - 0.75.7

---------------
update-notifier (0.75.7) jaunty; urgency=low

  [ Michael Vogt ]
  * src/hal.c:
    - fix incorrect capitalization (LP: #186594)

  [ Chris Coulson ]
  * src/update-notifier.c:
    - Revert an earlier change to call gnome_program_init()
      again. reboot.c still depends on this (LP: #302326)

 -- Michael Vogt <email address hidden> Tue, 20 Jan 2009 19:59:20 +0100

Changed in update-notifier:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.