Bug 623755 - SELinux is preventing prelink "read" access on /root.
Summary: SELinux is preventing prelink "read" access on /root.
Status: CLOSED DUPLICATE of bug 621842
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
Whiteboard: setroubleshoot_trace_hash:50367ec220e...
Depends On:
TreeView+ depends on / blocked
Reported: 2010-08-12 17:05 UTC by Michal Nowak
Modified: 2013-03-08 02:11 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-08-12 20:35:51 UTC

Attachments (Terms of Use)

Description Michal Nowak 2010-08-12 17:05:37 UTC

SELinux is preventing prelink "read" access on /root.

Detailed Description:

SELinux denied access requested by prelink. It is not expected that this access
is required by prelink and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug

Additional Information:

Source Context                system_u:system_r:prelink_cron_system_t:s0-s0:c0.c
Target Context                system_u:object_r:admin_home_t:s0
Target Objects                /root [ dir ]
Source                        prelink
Source Path                   prelink
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           filesystem-2.4.31-1.fc13
Policy RPM                    selinux-policy-3.7.19-44.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                     #1 SMP Sun Jul 11 08:42:03
                              UTC 2010 i686 i686
Alert Count                   1
First Seen                    Thu 12 Aug 2010 06:48:11 PM CEST
Last Seen                     Thu 12 Aug 2010 06:48:11 PM CEST
Local ID                      1e9a70e1-7c14-4882-a28b-75a47155573f
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1281631691.293:22909): avc:  denied  { read } for  pid=6863 comm="prelink" path="/root" dev=dm-2 ino=106290 scontext=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 tcontext=system_u:object_r:admin_home_t:s0 tclass=dir

No idea why prelink wanted to prelink in /root...
Hash String generated from  catchall,prelink,prelink_cron_system_t,admin_home_t,dir,read
audit2allow suggests:

#============= prelink_cron_system_t ==============
allow prelink_cron_system_t admin_home_t:dir read;

Comment 1 Daniel Walsh 2010-08-12 20:32:49 UTC
Miroslav, I added


Comment 2 Daniel Walsh 2010-08-12 20:35:51 UTC

*** This bug has been marked as a duplicate of bug 621842 ***

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