Bug 140667

Summary: suspend to APM doesn't work because of root permissions
Product: [Fedora] Fedora Reporter: Andrew D. Stadler <stadler>
Component: gnome-appletsAssignee: Mark McLoughlin <markmc>
Status: CLOSED DUPLICATE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 19:07:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrew D. Stadler 2004-11-24 03:15:27 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041111 Firefox/1.0

Description of problem:
Other bugs have pointed out that the battery applet's default suspend
command is /usr/bin/apm -s which doesn't work for ACPI systems.

I would also like to point out that it doesn't work for APM systems
either.

Bug #1:  silent failure.  Should at least give some diagnostic results
to the user so you know that something went wrong.

Bug #2:  Testing "/usr/bin/amp -s" in a shell demonstrates the
problem, as it returns "apm: Operation not permitted".  Some other
command is required, OR, perhaps apm has its permissions set too
restrictively.

(it's possible to make it work by typing "sudo /usr/bin/amp -s")

Besides suggesting that these elements should be repaired for a better
"out of box" experience, can you suggest a specific workaround or fix?

Version-Release number of selected component (if applicable):
gnome-applets-2.8.0-5

How reproducible:
Always

Steps to Reproduce:
1.  Boot system with APM
2.  Try the suspend feature in the battery applet.  Doesn't work.
3.  Try the suspend command in a shell.  Doesn't work.
    

Additional info:

Comment 1 Mark McLoughlin 2005-01-05 11:03:43 UTC

*** This bug has been marked as a duplicate of 121061 ***

Comment 2 Red Hat Bugzilla 2006-02-21 19:07:15 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.