selinux and acpi actions...

Daniel J Walsh dwalsh at redhat.com
Wed May 18 19:03:14 UTC 2005


Peter Jones wrote:

>On Wed, 2005-05-18 at 07:38 -0700, Bikehead wrote:
>  
>
>>I probably don't since I'm trying to get suspend to memory.  However, I 
>>am using the instructions for acpi action scripts from this site: 
>>http://www.cs.usfca.edu/~afedosov/thinkpad/acpi.shtml.  It is writing to 
>>/tmp/suspended in order to protect against a problem where the power 
>>event was triggered after a resume from suspend to disk so that the 
>>powerbutton.sh action could differentiate between a true shutdown and a 
>>resume.
>>    
>>
>
>It shouldn't really be using a predictably named file in /tmp for that.
>
>  
>
How about /var/run?

Dan

-- 





More information about the test mailing list