Comment 10 for bug 530161

Revision history for this message
TJ (tj) wrote : Re: On Clean install after update restart didnt work.

Confirming this affects Xubuntu but not Ubuntu. The cause appears to be a reliance on gnome session manager to trigger the restart:

UpdateManager/UpdateManager.py::592

  def show_reboot_required_dialog(self):
    self.dialog_reboot.set_transient_for(self.window_main)
    self.dialog_reboot.set_title("")
    res = self.dialog_reboot.run()
    self.dialog_reboot.hide()
    if res == gtk.RESPONSE_OK:
      try:
          bus = dbus.SessionBus()
          proxy_obj = bus.get_object("org.gnome.SessionManager",
         "/org/gnome/SessionManager")
          iface = dbus.Interface(proxy_obj, "org.gnome.SessionManager")
          iface.RequestReboot()
          # FIXME: try sesion restart with hal?
      except dbus.DBusException, e:
          pass