Bug 567674 - SELinux is preventing /usr/sbin/modem-manager "getsched" access .
Summary: SELinux is preventing /usr/sbin/modem-manager "getsched" access .
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:9ca254593a4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-23 16:18 UTC by Matthias Hölzl
Modified: 2010-03-04 00:17 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.6.32-92.fc12
Clone Of:
Environment:
Last Closed: 2010-03-04 00:17:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matthias Hölzl 2010-02-23 16:18:46 UTC
Summary:

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

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

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://docs.fedoraproject.org/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 [ process ]
Source                        modem-manager
Source Path                   /usr/sbin/modem-manager
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           ModemManager-0.3-2.git20100211.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.9-1.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux falcon5 2.6.33-0.48.rc8.git1.fc14.x86_64 #1
                              SMP Fri Feb 19 03:44:33 UTC 2010 x86_64 x86_64
Alert Count                   13
First Seen                    Tue 23 Feb 2010 05:03:52 PM CET
Last Seen                     Tue 23 Feb 2010 05:17:43 PM CET
Local ID                      dec9c151-66e3-4ad9-b7f2-f507676d16e6
Line Numbers                  

Raw Audit Messages            

node=falcon5 type=AVC msg=audit(1266941863.22:15692): avc:  denied  { getsched } for  pid=2297 comm="modem-manager" scontext=system_u:system_r:modemmanager_t:s0-s0:c0.c1023 tcontext=system_u:system_r:modemmanager_t:s0-s0:c0.c1023 tclass=process

node=falcon5 type=SYSCALL msg=audit(1266941863.22:15692): arch=c000003e syscall=143 success=yes exit=0 a0=8f9 a1=7f8ca5eaad38 a2=7fff10c865a0 a3=7fff10c862e0 items=0 ppid=2296 pid=2297 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  catchall,modem-manager,modemmanager_t,modemmanager_t,process,getsched
audit2allow suggests:

#============= modemmanager_t ==============
allow modemmanager_t self:process getsched;

Comment 1 Matthias Hölzl 2010-02-23 16:20:35 UTC
This denial seems to prevent Network Manager from establishing a wireless connection when SELinux is in enforcing mode.

Comment 2 Daniel Walsh 2010-02-23 17:10:05 UTC
Fixed in selinux-policy-3.7.10-2.fc13

Comment 3 Fedora Update System 2010-02-23 20:58:23 UTC
selinux-policy-3.6.32-92.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-92.fc12

Comment 4 Fedora Update System 2010-02-26 03:45:14 UTC
selinux-policy-3.6.32-92.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-2953

Comment 5 Fedora Update System 2010-03-04 00:13:53 UTC
selinux-policy-3.6.32-92.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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