SELinux and Thinkpad ACPI (part 1: screen blank)

Colin Walters walters at redhat.com
Tue Jul 5 21:17:10 UTC 2005


On Sun, 2005-07-03 at 16:27 -0400, Matthew Saltzman wrote:
> The ACPI scripts that I use to turn off the screen and suspend to RAM no 
> longer function in FC4 (worked fine in FC3).  

Hopefully for FC5 we'll get suspend working out of the box.  We don't
really want our users to be in the business of having to write custom
suspend scripts.

> The screen blank script is 
> invoked on Fn-F3 and contains:
> 
>      #!/bin/sh
> 
>      if [ -f /var/tmp/acpi-lightoff ]; then
>        /usr/sbin/radeontool light on

As a workaround, try:

chcon -t initrc_exec_t /usr/local/bin/my-custom-blank-script.sh

Same thing for the suspend.  






More information about the fedora-selinux-list mailing list