Bug 542909

Summary: SELinux is preventing /usr/sbin/modem-manager "sys_admin" access.
Product: [Fedora] Fedora Reporter: Rahul Sundaram <sundaram>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 12CC: dwalsh, mgrepl, smohan
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:67858d8bcece395e75c925009e4e753b8231a3214411d20749ecb64d594fdc9c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-01 14:44:19 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 Rahul Sundaram 2009-12-01 06:53:16 UTC
Summary:

SELinux is preventing /usr/sbin/modem-manager "sys_admin" access.

Detailed Description:

SELinux denied access requested by modem-manager. It is not expected that this
access is required by modem-manager 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                system_u:system_r:modemmanager_t:s0-s0:c0.c1023
Target Context                system_u:system_r:modemmanager_t:s0-s0:c0.c1023
Target Objects                None [ capability ]
Source                        modem-manager
Source Path                   /usr/sbin/modem-manager
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           ModemManager-0.2-4.20091105.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-49.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.6-145.fc12.i686 #1 SMP Sat
                              Nov 21 16:28:23 EST 2009 i686 i686
Alert Count                   1
First Seen                    Sun 29 Nov 2009 12:34:29 PM IST
Last Seen                     Sun 29 Nov 2009 12:34:29 PM IST
Local ID                      1c729fa9-a355-4da2-9d70-89d710cdb565
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1259478269.979:23324): avc:  denied  { sys_admin } for  pid=1339 comm="modem-manager" capability=21 scontext=system_u:system_r:modemmanager_t:s0-s0:c0.c1023 tcontext=system_u:system_r:modemmanager_t:s0-s0:c0.c1023 tclass=capability

node=(removed) type=SYSCALL msg=audit(1259478269.979:23324): arch=40000003 syscall=5 success=no exit=-16 a0=98fe610 a1=982 a2=8066854 a3=98e59b8 items=0 ppid=1 pid=1339 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="modem-manager" exe="/usr/sbin/modem-manager" subj=system_u:system_r:modemmanager_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-49.fc12,catchall,modem-manager,modemmanager_t,modemmanager_t,capability,sys_admin
audit2allow suggests:

#============= modemmanager_t ==============
allow modemmanager_t self:capability sys_admin;

Comment 1 Daniel Walsh 2009-12-01 14:44:19 UTC

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