Restart button does nothing in update-manager when run as root

Bug #715517 reported by Rocko
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: update-manager

----
Summary: When running update-manager as root, the "Restart" button does not work. (Tested and confirmed on 10.04, 10.10, 11.04)
----

----
To reproduce: Just run update-manager as root from the CLI. When asked, press the "Restart" button. (Must have installed updates that require a reboot.)
----

After (eg) upgrading the kernel, update-manager will tell me the PC needs to reboot. But when I click the Restart button, nothing happens.

I've got auto-login set if case that is relevant, but IIRC on another PC running Maverick I have the same problem with no auto-login.

ProblemType: BugDistroRelease: Ubuntu 11.04
Package: update-manager 1:0.145.13
ProcVersionSignature: Ubuntu 2.6.38-1.28-generic 2.6.38-rc2
Uname: Linux 2.6.38-1-generic i686
Architecture: i386
Date: Wed Feb 9 07:57:40 2011InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100602.2)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_AU:en
 LANG=en_AU.UTF-8
 LC_MESSAGES=en_AU.utf8
 SHELL=/bin/bashSourcePackage: update-manager

Revision history for this message
Rocko (rockorequin) wrote :
Revision history for this message
RedSingularity (redsingularity) wrote :

Thanks for reporting this issue. Are you still able to reproduce this?

Changed in update-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Rocko (rockorequin) wrote :

So far, yes, every time, in both Maverick and Natty. I'll need to wait for something like another kernel update to test again.

Revision history for this message
RedSingularity (redsingularity) wrote :

Are you referring to the "Restart Now" button in the update-manager window or the restart button on the gnome-panel?

Revision history for this message
Rocko (rockorequin) wrote :

The restart button that update-manager offers you does not work. The restart menu option in gnome-panel works fine.

Revision history for this message
RedSingularity (redsingularity) wrote :

I tried it in both 10.10 and 11.04 with the expected results and no problems. Seems to be a local issue. Run the following command and post the output:

which update-manager

Revision history for this message
Rocko (rockorequin) wrote :

I'm using /usr/bin/update-manager. I usually run it as root from gnome-terminal - could that be causing it?

Revision history for this message
RedSingularity (redsingularity) wrote :

It may. I will test it out. What command are you using to run it as root?

Revision history for this message
Rocko (rockorequin) wrote :

I run:

sudo -s
update-manager&

Revision history for this message
RedSingularity (redsingularity) wrote :

It seems that running update-manager as root from the CLI does indeed cause this issue. Please run update-manager from the "Administration" area to proceed without any issues. If you must use the command line, just run update-manager as yourself. Dont use "sudo" or "su" to start a root shell. Marking Confirmed.

Changed in update-manager (Ubuntu):
status: Incomplete → Confirmed
summary: - restart button does nothing in update-manager
+ Restart button does nothing in update-manager when run as root
description: updated
description: updated
Revision history for this message
Draycen DeCator (ddecator) wrote :

I'm marking this bug as triaged since it appears to have enough information for the developers to begin working on the problem. I'm also giving this a low importance, by request of RedSingularity, since the bug is easy to workaround.

Thanks again for helping to improve Ubuntu, and please report any other bugs that you encounter!

Changed in update-manager (Ubuntu):
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
dino99 (9d9) wrote :

That version is no more maintained

Changed in update-manager (Ubuntu):
status: Triaged → Invalid
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.