Bug 735568

Summary: SELinux is preventing /usr/bin/chfn from 'getattr' accesses on the chr_file /dev/network_throughput.
Product: [Fedora] Fedora Reporter: zxcv <Dietrich.Lolz>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:9f64206a6d87e737ea9d28f427503d7d28dcf17ad1ca1084b200ce8fb7b6c4bd
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-05 06:14:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description zxcv 2011-09-03 15:06:31 UTC
abrt version: 2.0.5
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.0.0-1.fc16.x86_64
reason:         SELinux is preventing /usr/bin/chfn from 'getattr' accesses on the chr_file /dev/network_throughput.
time:           Sat Sep  3 12:08:02 2011

description:
:SELinux is preventing /usr/bin/chfn from 'getattr' accesses on the chr_file /dev/network_throughput.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that chfn should be allowed getattr access on the network_throughput chr_file by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:Do
:allow this access for now by executing:
:# grep chfn /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                unconfined_u:unconfined_r:chfn_t:s0
:Target Context                system_u:object_r:netcontrol_device_t:s0
:Target Objects                /dev/network_throughput [ chr_file ]
:Source                        chfn
:Source Path                   /usr/bin/chfn
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-15.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.0.0-1.fc16.x86_64 #1 SMP Fri
:                              Jul 22 16:09:29 UTC 2011 x86_64 x86_64
:Alert Count                   2
:First Seen                    Sat 03 Sep 2011 10:39:48 AM CLST
:Last Seen                     Sat 03 Sep 2011 10:39:52 AM CLST
:Local ID                      f2582a37-414f-4490-89e8-b116438f0dbb
:
:Raw Audit Messages
:type=AVC msg=audit(1315057192.563:1136): avc:  denied  { getattr } for  pid=2245 comm="chfn" path="/dev/network_throughput" dev=devtmpfs ino=6174 scontext=unconfined_u:unconfined_r:chfn_t:s0 tcontext=system_u:object_r:netcontrol_device_t:s0 tclass=chr_file
:
:
:Hash: chfn,chfn_t,netcontrol_device_t,chr_file,getattr
:
:audit2allow
:
:#============= chfn_t ==============
:allow chfn_t netcontrol_device_t:chr_file getattr;
:
:audit2allow -R
:
:#============= chfn_t ==============
:allow chfn_t netcontrol_device_t:chr_file getattr;
:

Comment 1 Miroslav Grepl 2011-09-05 06:14:55 UTC

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