Bug 550204 - SELinux is preventing /usr/sbin/pppd "read write" access on ppp.
Summary: SELinux is preventing /usr/sbin/pppd "read write" access on ppp.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:a0e3e987fb1...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-24 00:18 UTC by markhuomian
Modified: 2010-01-08 20:10 UTC (History)
4 users (show)

Fixed In Version: 3.6.32-66.fc12
Clone Of:
Environment:
Last Closed: 2010-01-08 20:10:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description markhuomian 2009-12-24 00:18:14 UTC
Summary:

SELinux is preventing /usr/sbin/pppd "read write" access on ppp.

Detailed Description:

SELinux denied access requested by pppd. It is not expected that this access is
required by pppd 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:hald_t:s0
Target Context                system_u:object_r:ppp_device_t:s0
Target Objects                ppp [ chr_file ]
Source                        pppd
Source Path                   /usr/sbin/pppd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           ppp-2.4.5-2.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-59.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.6-166.fc12.i686.PAE #1 SMP
                              Wed Dec 9 11:00:30 EST 2009 i686 i686
Alert Count                   3
First Seen                    Mon 21 Dec 2009 09:39:43 PM SGT
Last Seen                     Mon 21 Dec 2009 09:41:15 PM SGT
Local ID                      89c8586e-17b4-4c32-ad9f-d588cd850a09
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1261402875.616:92): avc:  denied  { read write } for  pid=4381 comm="pppd" name="ppp" dev=tmpfs ino=6369 scontext=system_u:system_r:hald_t:s0 tcontext=system_u:object_r:ppp_device_t:s0 tclass=chr_file

node=(removed) type=SYSCALL msg=audit(1261402875.616:92): arch=40000003 syscall=5 success=no exit=-13 a0=acd1ea a1=2 a2=bfcaca2c a3=ae2980 items=0 ppid=4376 pid=4381 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="pppd" exe="/usr/sbin/pppd" subj=system_u:system_r:hald_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.32-59.fc12,catchall,pppd,hald_t,ppp_device_t,chr_file,read,write
audit2allow suggests:
audit2allow is not installed.

Comment 1 Daniel Walsh 2009-12-27 12:54:37 UTC
Does hal start the pppd daemon?

Comment 2 markhuomian 2009-12-27 13:06:50 UTC
(In reply to comment #1)
> Does hal start the pppd daemon?  

Sorry... I don't know...
This will happen whenever I plug my Omnia in.

Comment 3 paul 2009-12-28 23:33:18 UTC
-  This happen when I plug in my pocketpc phone (Window Mobile 2003se / O2 mini).

-  There are a series of denial, each one appears when i generate a policy by 'audit2allow', as shown below.  After adding those policies and semodule -i, it works (havn't resolve that for 'hal-dccm' yet):-


Dec 27 20:30:59 localhost kernel: usb 4-1: Product: PocketPC SmartPhone
Dec 27 20:30:59 localhost kernel: usb 4-1: Manufacturer: Intel.
Dec 27 20:30:59 localhost kernel: usb 4-1: configuration #1 chosen from 1 choice
Dec 27 20:30:59 localhost kernel: ipaq 4-1:1.0: PocketPC PDA converter detected

Dec 28 00:01:49 localhost setroubleshoot: SELinux is preventing /usr/sbin/pppd "open" access on ppp. For complete SELinux messages. run sealert -l 3a357732-0227-46cd-92e3-5d9abf6178b0
Dec 28 00:10:47 localhost setroubleshoot: SELinux is preventing /usr/sbin/pppd "create" access on LCK..ttyUSB0. For complete SELinux messages. run sealert -l cb093223-28b3-41db-b732-84b2a6882$

Dec 28 00:10:48 localhost setroubleshoot: SELinux is preventing /usr/libexec/hal-dccm "read" access on /etc/abrt/pyhook.conf. For complete SELinux messages. run sealert -l 7385b062-ce87-44c3-$
Dec 28 00:14:51 localhost setroubleshoot: SELinux is preventing /usr/sbin/pppd "read write open" access on LCK..ttyUSB0. For complete SELinux messages. run sealert -l 825d2bdd-266e-41e5-b5f2-$

Comment 4 Daniel Walsh 2009-12-30 01:10:07 UTC
Added ppp_domtrans(hald_t)

Fixed in selinux-policy-3.6.32-65.fc12.noarch

Comment 5 Fedora Update System 2010-01-04 21:54:25 UTC
selinux-policy-3.6.32-66.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-66.fc12

Comment 6 Fedora Update System 2010-01-05 22:50:29 UTC
selinux-policy-3.6.32-66.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-0184

Comment 7 Fedora Update System 2010-01-08 20:05:16 UTC
selinux-policy-3.6.32-66.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.