Bug 560159 - SELinux is preventing mono (unlabeled_t) "use" to /dev/null (unconfined_t).
Summary: SELinux is preventing mono (unlabeled_t) "use" to /dev/null (unconfined_t).
Keywords:
Status: CLOSED DUPLICATE of bug 560154
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:f528e263f5d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-30 00:56 UTC by sham sham435
Modified: 2010-02-01 10:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-01 10:05:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description sham sham435 2010-01-30 00:56:16 UTC
Summary:

SELinux is preventing mono (unlabeled_t) "use" to /dev/null (unconfined_t).

Detailed Description:

SELinux denied access requested by mono. It is not expected that this access is
required by mono 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://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Or you can disable
SELinux protection altogether. Disabling SELinux protection is not recommended.
Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.

Additional Information:

Source Context                system_u:object_r:unlabeled_t:s0
Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Objects                /dev/null [ fd ]
Source                        mono
Source Path                   /usr/bin/mono
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           mono-core-1.9.1-2.fc9
Target RPM Packages           
Policy RPM                    selinux-policy-3.3.1-42.fc9
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.25-14.fc9.i686 #1
                              SMP Thu May 1 06:28:41 EDT 2008 i686 i686
Alert Count                   2
First Seen                    Tue 02 Jan 2001 01:52:59 AM LKT
Last Seen                     Tue 02 Jan 2001 01:53:00 AM LKT
Local ID                      bfb77bae-0a80-4ef6-afe1-6dcfa8c3267d
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(978378780.207:129): avc:  denied  { use } for  pid=2237 comm="mono" path="/dev/null" dev=tmpfs ino=1877 scontext=system_u:object_r:unlabeled_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=fd

node=(removed) type=SYSCALL msg=audit(978378780.207:129): arch=40000003 syscall=4 per=400000 success=no exit=-13 a0=2 a1=91dc640 a2=50 a3=91dc640 items=0 ppid=1 pid=2237 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="mono" exe="/usr/bin/mono" subj=system_u:object_r:unlabeled_t:s0 key=(null)



Hash String generated from  selinux-policy-3.3.1-42.fc9,catchall,mono,unlabeled_t,unconfined_t,fd,use
audit2allow suggests:

#============= unlabeled_t ==============
allow unlabeled_t unconfined_t:fd use;

Comment 1 Miroslav Grepl 2010-02-01 10:05:03 UTC

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


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