Opened 15 years ago

Closed 15 years ago

Last modified 11 years ago

#246 closed defect (fixed)

Shutdown/Reboot fails when multiple users are logged in

Reported by: tomeu Owned by: alsroot
Priority: Normal Milestone:
Component: Sugar Version: 0.84.x
Severity: Critical Keywords: r+
Cc: alsroot Distribution/OS: Unspecified
Bug Status: Assigned

Description

If you try to shutdown but it doesn't because concole sessions were open, trying to shutdown after closing them won't work because something breaks in our session management

Attachments (2)

sugar-246.patch (2.0 KB) - added by alsroot 15 years ago.
sugar-246-sugar.patch (1.8 KB) - added by alsroot 15 years ago.

Download all attachments as: .zip

Change History (17)

comment:1 Changed 15 years ago by marcopg

  • Bug Status set to New
  • Distribution/OS set to Unspecified
  • Priority changed from normal to Normal
  • Severity set to Minor

comment:2 Changed 15 years ago by erikos

Maybe the same then #427?

comment:3 Changed 15 years ago by tomeu

  • Severity changed from Minor to Blocker

comment:4 Changed 15 years ago by erikos

See as well #427

comment:5 Changed 15 years ago by erikos

  • Bug Status changed from New to Assigned
  • Owner changed from marcopg to erikos
  • Status changed from new to assigned
  • Summary changed from shutdown operation fails after first fail to Shutdown fails when multiple users are logged in

We hit the policy for hal.power.management defined in /usr/share/PolicyKit/policy/org.freedesktop.hal.power-management.policy

 <action id="org.freedesktop.hal.power-management.shutdown-multiple-sessions">
    <description>Shut down the system when multiple users are logged in</description>
    <message>System policy prevents shutting down the system while multiple users are logged in</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
  </action>

comment:6 Changed 15 years ago by erikos

  • Summary changed from Shutdown fails when multiple users are logged in to Shutdown/Reboot fails when multiple users are logged in

comment:7 Changed 15 years ago by alsroot

  • Cc alsroot added

comment:8 Changed 15 years ago by erikos

  • Milestone changed from 0.84 to 0.86

Still present - let's move it.

comment:9 Changed 15 years ago by erikos

  • Keywords 0.84 added

comment:10 Changed 15 years ago by erikos

  • Keywords 0.84 removed
  • Severity changed from Blocker to Critical
  • Version changed from Git as of bugdate to 0.84.x

comment:11 Changed 15 years ago by erikos

Serious, but could go into 0.86.1, too.

Changed 15 years ago by alsroot

Changed 15 years ago by alsroot

comment:12 Changed 15 years ago by alsroot

  • Keywords r? added

Attached patches just handle errors while rebooting/shutdowning gracefully.

We also can notify user in UI about error but dunno how it could look(since we have only desktop window).

comment:13 Changed 15 years ago by tomeu

  • Keywords r+ added; r? removed
  • Owner changed from erikos to alsroot

comment:15 Changed 11 years ago by dnarvaez

  • Milestone 0.86 deleted

Milestone 0.86 deleted

Note: See TracTickets for help on using tickets.