Bug 693632 - SELinux is preventing modem-manager from 'open' accesses on the file c166:1.
Summary: SELinux is preventing modem-manager from 'open' accesses on the file c166:1.
Keywords:
Status: CLOSED DUPLICATE of bug 692459
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:975eba7f611...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-05 07:29 UTC by Vaclav Zbranek
Modified: 2011-04-05 21:40 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-05 16:42:11 UTC
Type: ---


Attachments (Terms of Use)

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 ***


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