Ticket #7350 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

PolicyKit policies don't allow active user to shutdown/reboot with multiple sessions

Reported by: dsd Owned by: jg
Priority: normal Milestone:
Component: distro Version: olpc-3
Keywords: joyride-2023:- joyride-2313:+ Cc:
Action Needed: never set Verified: no
Deployments affected: Blocked By:
Blocking: #7383


The PK policies state that the active user can't shutdown the system (unless authorised as an admin) if multiple sessions are running.

If you login at the console, this counts as multiple sessions (you can't shutdown/reboot from sugar). Even after you logout from the console, you have to restart sugar before it lets you shutdown again.

Change History

Changed 6 years ago by dsd

  • blocking 7383 added

Changed 6 years ago by dsd

  • next_action set to never set

Produced a policies package and requested inclusion in fedora https://bugzilla.redhat.com/show_bug.cgi?id=454329

Changed 6 years ago by gregorio

  • milestone deleted

Milestone Never Assigned deleted

Changed 6 years ago by gnu

This is still broken in os2181. It wouldn't restart (and it gave me ZERO error messages, it just didn't do anything). Eventually I looked up this bug, and exited my console shell. Now when I pressed restart, it hung for half a minute or so and then produced #6086 ("Keep error" at the top of the Journal screen).

If some kind of system policy makes Sugar ignore my instructions to power off or restart, it ought to tell me. The power button is very close by, and it takes orders only from me!

Changed 6 years ago by dsd

  • keywords joyride-2313:+ added
  • status changed from new to closed
  • resolution set to fixed

PolicyKit-olpc is now shipped in the fedora repos

Note: See TracTickets for help on using tickets.