gnome-power-manager-2.24.0 with USE="policykit" does not install any kind of policy file. As a result, policykit prevents all users from suspending or hibernating the machine from any Gnome mechanism (it even prevents the GUI buttons/spinbox choices for suspend or hibernate from being shown). The solution is to install a policy file. Gnome-power-manager uses non-Gnome policykit action IDs (e.g. "org.freedesktop.hal.power-management.suspend"), so I am not sure if the file should be installed by gnome-power-manager itself or from some sort of additional package (in case the same actions will be used by other desktops' power managers). In any case, if USE="policykit", either gnome-power-manager or some pre/post dependency must install the appropriate policy file.
Created attachment 166852 [details] org.freedesktop.hal.power-management.policy Power management policy file. Copy this into /usr/share/PolicyKit/policy This policy file allows the user with the active session to suspend/hibernate the machine (i.e. the expected behavior).
before you report more of these, basically, nobody tested policykit seriously enough to get gnome 2.24 with it into the tree. There is a big mess in upstream pushing (gnome) it and causing _major_ regressions along these changes (like breaking shutdown capability) and we are more prone to fix these errors first than "solving" them by using something that is highly untested by ourselves. @herd, what do you want to say about moving packages with pk use flag to the tree ?
(In reply to comment #2) Policykit seems to work quite well here, as long as the correct policy files are actually installed (and as long as PolicyKit directories have the correct permissions, see bug 239231).
*** Bug 249733 has been marked as a duplicate of this bug. ***
fixed in overlay without a bump.