Bug 708315 - SELinux is preventing /usr/sbin/pppd from 'unlink' accesses on the file LCK..ttyUSB3.
Summary: SELinux is preventing /usr/sbin/pppd from 'unlink' accesses on the file LCK.....
Keywords:
Status: CLOSED DUPLICATE of bug 708260
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:bbe89277b88...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-27 09:17 UTC by Amit Shah
Modified: 2011-05-27 10:18 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-27 10:18:26 UTC
Type: ---


Attachments (Terms of Use)

Description Amit Shah 2011-05-27 09:17:07 UTC
SELinux is preventing /usr/sbin/pppd from 'unlink' accesses on the file LCK..ttyUSB3.

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

If you believe that pppd should be allowed unlink access on the LCK..ttyUSB3 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 pppd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:pppd_t:s0
Target Context                system_u:object_r:var_lock_t:s0
Target Objects                LCK..ttyUSB3 [ file ]
Source                        pppd
Source Path                   /usr/sbin/pppd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           ppp-2.4.5-16.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-24.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.39-1.fc16.x86_64 #1
                              SMP Sat May 21 02:34:01 UTC 2011 x86_64 x86_64
Alert Count                   1
First Seen                    Thu 26 May 2011 07:11:23 PM IST
Last Seen                     Thu 26 May 2011 07:11:23 PM IST
Local ID                      4faeb9b3-5c45-435c-9c4a-328061b5c849

Raw Audit Messages
type=AVC msg=audit(1306417283.494:1389): avc:  denied  { unlink } for  pid=16260 comm="pppd" name="LCK..ttyUSB3" dev=tmpfs ino=640409 scontext=system_u:system_r:pppd_t:s0 tcontext=system_u:object_r:var_lock_t:s0 tclass=file


type=SYSCALL msg=audit(1306417283.494:1389): arch=x86_64 syscall=unlink success=no exit=EACCES a0=7f7cdf9f1080 a1=5404 a2=ffffffffffffff80 a3=b items=0 ppid=814 pid=16260 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:pppd_t:s0 key=(null)

Hash: pppd,pppd_t,var_lock_t,file,unlink

audit2allow

#============= pppd_t ==============
allow pppd_t var_lock_t:file unlink;

audit2allow -R

#============= pppd_t ==============
allow pppd_t var_lock_t:file unlink;

Comment 1 Dominick Grift 2011-05-27 09:31:32 UTC
duplicate of: 707977

Comment 2 Miroslav Grepl 2011-05-27 10:18:26 UTC

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


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