Bug 220262

Summary: Power Management YaST2 module modifies privilege descriptor in a wrong way
Product: [openSUSE] openSUSE 10.2 Reporter: Holger Macht <hmacht>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None    
Version: Beta 2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Holger Macht 2006-11-12 14:29:16 UTC
The power management modules modifies the PolicyKit privilege descriptor hal-power-suspend and hal-power-hibernate in a wrong way. After changing something in the 'Suspend permissions' dialog and then clicking on 'Finish', tt modifies the line

  RequiredPrivilege=desktop-console

and adds/removes the desktop-console privilege. But it should modify the line

  SufficientPrivilege=desktop-console

according to bug #214272

The desktop-console privilege has to be there if users should be allowed to suspend/hibernate, the privilege has to be removed when only root should be able t o hibernate/suspend.

Only root is allowed:
  SufficientPrivilege=

Also users are allowed:
  SufficientPrivilege=desktop-console
Comment 1 Ladislav Slezák 2006-11-13 15:01:40 UTC
Fixed in yast2-power-management-2.14.2