Bug 710928
Summary: | SELinux is preventing /sbin/setfiles from 'relabelfrom' accesses on the file pm-powersave.log. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | bud <budroz89> |
Component: | pm-utils | Assignee: | Jaroslav Škarvada <jskarvad> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 15 | CC: | dominick.grift, dwalsh, itsme_410, jskarvad, mgrepl, opensource, peter, pknirsch, richard, sepassi.nima |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | setroubleshoot_trace_hash:998ffbdb9c774ce41db7062a3443426916c7385df0414c46ca8bfc9177f363dd | ||
Fixed In Version: | pm-utils-1.4.1-8.fc15 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-06-15 18:38:56 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
bud
2011-06-05 21:24:55 UTC
What were you doing when this happened? If you execute # restorecon -R -v /var/log/pm-powersave.log Can you reproduce it? matchpathcon /var/log/pm-powersave.log /var/log/pm-powersave.log system_u:object_r:devicekit_var_log_t:s0 It looks like the file can be created via devicekit or hal? And we have different labels? All I know is that the bug came up everytime I try to boot from hibernation. If I executed: # restorecon -R -v /var/log/pm-powersave.log it doesn't really do anything. Even when I tried to hibernate after executing it, I still get that same bug again after hibernating. Ok, the file is re-created --- rm -f "$1" touch "$1" restorecon "$1" exec >> "$1" 2>&1 --- I thought we don't use HAL. The reporter, is this a fresh install? Jaroslav, I think you should use - restorecon "$1" + [ -x /sbin/restorecon ] && /sbin/restorecon "$1" Well, I did install Fedora just recently if that's what you mean. Thanks Mirek, it should be fixed in pm-utils-1.4.1-8. I tested it and I am getting no AVC on suspend/hibernate. Hope it helps the reporter also. pm-utils-1.4.1-8.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/pm-utils-1.4.1-8.fc15 Package pm-utils-1.4.1-8.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing pm-utils-1.4.1-8.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/pm-utils-1.4.1-8.fc15 then log in and leave karma (feedback). pm-utils-1.4.1-8.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |