Bug 693632

Summary: SELinux is preventing modem-manager from 'open' accesses on the file c166:1.
Product: [Fedora] Fedora Reporter: Vaclav Zbranek <orangesunny>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: dwalsh, kenmatrix, mgrepl, orangesunny
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:975eba7f6111aac18a4dbea859f35e65cc04d966160596b809929656e885b721
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-05 16:42:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Vaclav Zbranek 2011-04-05 07:29:33 UTC
SELinux is preventing modem-manager from 'open' accesses on the file c166:1.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that modem-manager should be allowed open access on the c166:1 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 modem-manager /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:modemmanager_t:s0-s0:c0.c1023
Target Context                system_u:object_r:tmpfs_t:s0
Target Objects                c166:1 [ file ]
Source                        modem-manager
Source Path                   modem-manager
Port                          <Neznámé>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-10.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.39-0.rc0.git11.0.fc16.x86_64 #1
                              SMP Tue Mar 22 21:58:54 UTC 2011 x86_64 x86_64
Alert Count                   44
First Seen                    Út 5. duben 2011, 00:03:13 CEST
Last Seen                     Út 5. duben 2011, 00:03:16 CEST
Local ID                      d816a73c-50a2-44a6-98e2-a736b08d0058

Raw Audit Messages
type=AVC msg=audit(1301954596.724:115): avc:  denied  { open } for  pid=879 comm="modem-manager" name="c166:1" dev=tmpfs ino=38938 scontext=system_u:system_r:modemmanager_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tmpfs_t:s0 tclass=file


Hash: modem-manager,modemmanager_t,tmpfs_t,file,open

audit2allow

#============= modemmanager_t ==============
allow modemmanager_t tmpfs_t:file open;

audit2allow -R

#============= modemmanager_t ==============
allow modemmanager_t tmpfs_t:file open;

Comment 1 Vaclav Zbranek 2011-04-05 07:31:42 UTC
only boot and see this...and I really need this because I have 3G broadband as my only internet connection.

Comment 2 Daniel Walsh 2011-04-05 16:42:01 UTC
Try selinux-policy-3.9.16-13.fc16 and systemd-23-1.fc15

Comment 3 Daniel Walsh 2011-04-05 16:42:11 UTC

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