Description of problem:
The default acpid scrips hook into the power button press to shutdown the
machine if gnome-power-manager is not present.
The acpid script runs ck-list-sessions to find the uid of users with an open
display. However this fails to return output when run from the acpid script
causing the machine to power down regardless of gnome-power-manager
Inserting the following line into /etc/acpi/actions/power.sh
ck-list-sessions > /tmp/acpid-output 2>&1
** (ck-list-sessions:3197): WARNING **: Failed to get list of seats: An SELinux
policy prevents this sender from sending this message to this recipient
(rejected message had interface "org.freedesktop.ConsoleKit.Manager" member
"GetSeats" error name "(unset)" destination "org.freedesktop.ConsoleKit")
Where as running from a terminal gives me a result.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
You can allow this for now by executing
# audit2allow -M mypol -i /var/log/audit/audit.log
# semodule -i mypol.pp
Fixed in selinux-policy-3.0.8-89.fc8
Closing all bugs that have been in modified for over a month. Please reopen if the bug is not actually fixed.