Bug 194473
| Summary: | prelink cannot append to prelink.log file | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mike <spambox> |
| Component: | prelink | Assignee: | Jakub Jelinek <jakub> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5 | CC: | dwalsh, jturner |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 0.3.8-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-06-21 10:59:52 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: | |||
We need to move prelink to its own directory /var/log/prelink/prelink.log Should be fixed by prelink-0.3.8-1 in dist-fc6. *** Bug 198523 has been marked as a duplicate of this bug. *** *** Bug 181783 has been marked as a duplicate of this bug. *** |
Description of problem: Jun 8 04:02:15 xxx kernel: audit(1149732135.028:4): avc: denied { append } for pid=2639 comm="prelink" name="prelink.log" dev=hda1 ino=458825 scontext=user_u:system_r:prelink_t:s0 tcontext=user_u:object_r:var_log_t:s0 tclass=file Jun 8 04:02:15 xxx kernel: audit(1149732135.028:5): avc: denied { append } for pid=2639 comm="prelink" name="prelink.log" dev=hda1 ino=458825 scontext=user_u:system_r:prelink_t:s0 tcontext=user_u:object_r:var_log_t:s0 tclass=file Version-Release number of selected component (if applicable): clean/fresh/minimal/yesterday install with all updates How reproducible: leave system for night ;) Actual results: # getfattr -d -h -m. /var/log/prelink.log getfattr: Removing leading '/' from absolute path names # file: var/log/prelink.log security.selinux="user_u:object_r:var_log_t:s0\000" Expected results: # getfattr -d -h -m. /var/log/prelink.log getfattr: Removing leading '/' from absolute path names # file: var/log/prelink.log security.selinux="system_u:object_r:prelink_log_t:s0\000" Additional info: I don't know why this file have wrong context. `restorecon /var/log/prelink.log` helps but real problem is cause of this.