Bug 194473 - prelink cannot append to prelink.log file
Summary: prelink cannot append to prelink.log file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: prelink
Version: 5
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
: 181783 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-06-08 12:59 UTC by Mike
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version: 0.3.8-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-06-21 10:59:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mike 2006-06-08 12:59:19 UTC
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.

Comment 1 Daniel Walsh 2006-06-16 01:50:37 UTC
We need to move prelink to its own directory /var/log/prelink/prelink.log

Comment 2 Jakub Jelinek 2006-06-21 10:59:52 UTC
Should be fixed by prelink-0.3.8-1 in dist-fc6.

Comment 3 Jakub Jelinek 2006-07-12 09:31:41 UTC
*** Bug 198523 has been marked as a duplicate of this bug. ***

Comment 4 Jakub Jelinek 2006-08-08 10:24:52 UTC
*** Bug 181783 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.