Ticket #684 (closed defect: fixed)

Opened 11 years ago

Last modified 10 years ago

cluster-login-config does not correctly disable suspend and hibernate

Reported by: jdreed Owned by:
Priority: normal Milestone: Natty Beta
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:  LP:432598

Description (last modified by jdreed) (diff)

I still see suspend and hibernate in my indicator-applet-session ("power button") menu on a fully updated Lucid machine. c-l-c should be setting:

  • /apps/gnome-power-manager/general/can_hibernate false
  • /apps/gnome-power-manager/general/can_suspend false

Note that there is an upstream bug ( LP:432598) that supposedly got fixed in Karmic and Lucid. I haven't yet read the report in detail, but I wanted to get this on our radar.

Change History

comment:1 Changed 11 years ago by jdreed

  • Upstream bug changed from 432598 to LP:432598
  • Description modified (diff)

comment:2 Changed 11 years ago by kaduk

Reading the upstream bug, it seems it was fixed in Lucid but not Karmic.

comment:3 Changed 10 years ago by jdreed

  • Status changed from new to committed

The answer, according to the upstream bug, is that you now use polkit for this. I... have no idea why we didn't deal last year, since the fix was released before Lucid even came out. Anyway, committed in r25138 and it works on my machine.

comment:4 Changed 10 years ago by jdreed

  • Status changed from committed to development

Received ACK, built and uploaded cluster-login-config_1.32

comment:5 Changed 10 years ago by lizdenys

Tested from -development. The IAS does not show suspend or hibernate as options as expected. The Shut down... panel button still lists hibernate and suspend as options, but secretly just locks screen when either option is selected.

comment:6 Changed 10 years ago by jdreed

  • Status changed from development to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.