Opened 6 years ago

Closed 6 years ago

#7350 closed defect (fixed)

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:
Blocked By: Blocking: #7383
Deployments affected: Action Needed: never set
Verified: no

Description

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 (5)

comment:1 Changed 6 years ago by dsd

  • Blocking 7383 added

comment:2 Changed 6 years ago by dsd

  • Action Needed set to never set

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

comment:3 Changed 6 years ago by gregorio

  • Milestone Never Assigned deleted

Milestone Never Assigned deleted

comment:4 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!

comment:5 Changed 6 years ago by dsd

  • Keywords joyride-2313:+ added
  • Resolution set to fixed
  • Status changed from new to closed

PolicyKit-olpc is now shipped in the fedora repos

Note: See TracTickets for help on using tickets.