Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 590046 - SELinux is preventing /sbin/consoletype "read" access on /proc/<pid>/net/dev.
SELinux is preventing /sbin/consoletype "read" access on /proc/<pid>/net/dev.
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
12
i386 Linux
low Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
setroubleshoot_trace_hash:ad52a25a764...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-07 11:24 EDT by nargis
Modified: 2010-05-07 16:33 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-05-07 16:33:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description nargis 2010-05-07 11:24:36 EDT
Summary:

SELinux is preventing /sbin/consoletype "read" access on /proc//net/dev.

Detailed Description:

[consoletype has a permissive type (consoletype_t). This access was not denied.]

SELinux denied access requested by consoletype. It is not expected that this
access is required by consoletype 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) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:system_r:consoletype_t:s0
Target Context                system_u:object_r:proc_net_t:s0
Target Objects                /proc/<pid>/net/dev [ file ]
Source                        consoletype
Source Path                   /sbin/consoletype
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           initscripts-9.02-1
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-41.fc12
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7
                              21:25:57 EST 2009 i686 i686
Alert Count                   3
First Seen                    Fri 07 May 2010 10:20:26 PM WIT
Last Seen                     Fri 07 May 2010 10:20:26 PM WIT
Local ID                      0428924a-c50d-4f16-a297-6dd3e17f0331
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1273245626.469:145): avc:  denied  { read } for  pid=11300 comm="consoletype" path="/proc/1729/net/dev" dev=proc ino=4026531931 scontext=unconfined_u:system_r:consoletype_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1273245626.469:145): avc:  denied  { read } for  pid=11300 comm="consoletype" path="/proc/1729/net/dev" dev=proc ino=4026531931 scontext=unconfined_u:system_r:consoletype_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1273245626.469:145): avc:  denied  { read } for  pid=11300 comm="consoletype" path="/proc/1729/net/dev" dev=proc ino=4026531931 scontext=unconfined_u:system_r:consoletype_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1273245626.469:145): arch=40000003 syscall=11 success=yes exit=0 a0=8ebb9c0 a1=8eb3970 a2=8eb42b0 a3=8eb3970 items=0 ppid=11299 pid=11300 auid=500 uid=0 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="consoletype" exe="/sbin/consoletype" subj=unconfined_u:system_r:consoletype_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.32-41.fc12,catchall,consoletype,consoletype_t,proc_net_t,file,read
audit2allow suggests:

#============= consoletype_t ==============
allow consoletype_t proc_net_t:file read;
Comment 1 Daniel Walsh 2010-05-07 16:33:09 EDT
yum -y update

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