Bug 220068 - SELinux is preventing /usr/sbin/prelink (prelink_t) "read" to powermanga (usr_t).
Summary: SELinux is preventing /usr/sbin/prelink (prelink_t) "read" to powermanga (usr...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: setroubleshoot-plugins
Version: 6
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-12-18 19:10 UTC by Tim McConnell
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: selinux-policy-2.4.6-37
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-08-28 15:23:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tim McConnell 2006-12-18 19:10:27 UTC
Description of problem:
SELinux denied access requested by /usr/sbin/prelink. It is not expected
    that this access is required by /usr/sbin/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
    Sometimes labeling problems can cause SELinux denials.  You could try to
    restore the default system file context for powermanga, restorecon -v
    powermanga If this does not work, there is currently no automatic way to
    allow this access. Instead,  you can generate a local policy module to allow
    this access - see http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385
    Or you can disable SELinux protection altogether. Disabling SELinux
    protection is not recommended. Please file a
    http://bugzilla.redhat.com/bugzilla/enter_bug.cgi against this package.

Version-Release number of selected component (if applicable):


How reproducible:
Unknown 

Steps to Reproduce:
1. Recieve alert from SETroubleshooter 
2. Run commands to allow access 
3. Recieve same alert 
  
Actual results:
Recieve alert constantly 

Expected results:
alert to go away 

Additional info:
Source Context                system_u:system_r:prelink_t:SystemLow-SystemHigh
Target Context                system_u:object_r:usr_t
Target Objects                powermanga [ file ]
Affected RPM Packages         prelink-0.3.9-2 [application]
Policy RPM                    selinux-policy-2.4.6-7.fc6
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   plugins.catchall_file
Host Name                     red1.timmieland.private
Platform                      Linux red1.timmieland.private 2.6.18-1.2860.fc6xen
                              #1 SMP Tue Dec 5 14:28:32 EST 2006 i686 athlon
Alert Count                   10
Line Numbers                  

Raw Audit Messages            

avc: denied { read } for comm="prelink" dev=dm-0 egid=0 euid=0
exe="/usr/sbin/prelink" exit=-13 fsgid=0 fsuid=0 gid=0 items=0 name="powermanga"
pid=5685 scontext=system_u:system_r:prelink_t:s0-s0:c0.c1023 sgid=0
subj=system_u:system_r:prelink_t:s0-s0:c0.c1023 suid=0 tclass=file
tcontext=system_u:object_r:usr_t:s0 tty=(none) uid=0

Comment 1 Daniel Walsh 2007-02-14 21:33:56 UTC
What is the path to powermanga?  If you chcon -t bin_t powermanga this problem
will go away.


Comment 2 Daniel Walsh 2007-02-14 22:00:46 UTC
Fixed in selinux-policy-2.4.6-38

Comment 3 Tim McConnell 2007-02-15 05:59:16 UTC
upgrading to selinux-policy-2.4.6-37 and forcing a system relabel resovled this
issue. 


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