Red Hat Bugzilla – Bug 489175
SELinux prevents pm-powersave from appending to its own logfile
Last modified: 2009-03-10 16:58:00 EDT
Description of problem:
pm-powersave creates /var/log/pm-powersave.log the first time a computer suspends. This is meant to be updated when one resumes, but fails because of context problems: The log file is created as var_log_t rather than hald_log_t
Restoring the context does not help, as after the next suspend/resume, the context is back to var_log_t.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
3. See setroubleshoot
Two errors logged:
SELinux is preventing pm-powersave (devicekit_power_t) "getattr" to /var/log/pm-powersave.log (var_log_t).
SELinux is preventing pm-powersave (devicekit_power_t) "write" to /var/log/pm-powersave.log (var_log_t).
Should just work
Fixed in selinux-policy-3.6.8-3.fc11.noarch