| Summary: | SELinux is preventing /usr/sbin/xl2tpd from 'read' accesses on the file l2tp-control. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andreas Winkelbauer <andreas.winkelbauer> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:11351bf606f346f3c11de122a9d4fb5fed8b059266f78c694d307308c81cd43f | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-29 17:51:46 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 770749 *** |
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.6-1.fc16.x86_64 reason: SELinux is preventing /usr/sbin/xl2tpd from 'read' accesses on the file l2tp-control. time: Mi 28 Dez 2011 23:39:38 CET description: :SELinux is preventing /usr/sbin/xl2tpd from 'read' accesses on the file l2tp-control. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that xl2tpd should be allowed read access on the l2tp-control 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 xl2tpd /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:l2tpd_t:s0 :Target Context unconfined_u:object_r:var_run_t:s0 :Target Objects l2tp-control [ file ] :Source xl2tpd :Source Path /usr/sbin/xl2tpd :Port <Unknown> :Host (removed) :Source RPM Packages xl2tpd-1.3.1-1.fc16 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-67.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.1.6-1.fc16.x86_64 #1 SMP Wed Dec : 21 22:41:17 UTC 2011 x86_64 x86_64 :Alert Count 1 :First Seen Mi 28 Dez 2011 23:37:31 CET :Last Seen Mi 28 Dez 2011 23:37:31 CET :Local ID 628d883b-7b56-481a-bd30-3c40d7e540df : :Raw Audit Messages :type=AVC msg=audit(1325111851.936:164): avc: denied { read } for pid=3561 comm="xl2tpd" name="l2tp-control" dev=tmpfs ino=34868 scontext=system_u:system_r:l2tpd_t:s0 tcontext=unconfined_u:object_r:var_run_t:s0 tclass=file : : :type=SYSCALL msg=audit(1325111851.936:164): arch=x86_64 syscall=open success=no exit=EACCES a0=61e318 a1=800 a2=180 a3=7fff1a5417d0 items=0 ppid=1 pid=3561 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=xl2tpd exe=/usr/sbin/xl2tpd subj=system_u:system_r:l2tpd_t:s0 key=(null) : :Hash: xl2tpd,l2tpd_t,var_run_t,file,read : :audit2allow : :#============= l2tpd_t ============== :allow l2tpd_t var_run_t:file read; : :audit2allow -R : :#============= l2tpd_t ============== :allow l2tpd_t var_run_t:file read; :