| Summary: | SELinux is preventing /usr/bin/perl from 'read' accesses on the fichier . | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nicolas Mailhot <nicolas.mailhot> |
| 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: | rawhide | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:a577b7847f04477f85c34532ecc9e69d05fd980a09fb0b0329d260ec25629156 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-23 11:04:58 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 783687 *** |
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.2.1-8.fc17.x86_64 reason: SELinux is preventing /usr/bin/perl from 'read' accesses on the fichier . time: sam. 21 janv. 2012 18:56:38 CET description: :SELinux is preventing /usr/bin/perl from 'read' accesses on the fichier . : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that perl should be allowed read access on the 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 sa-learn /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:system_cronjob_t:s0-s0:c0.c1023 :Target Context unconfined_u:object_r:data_home_t:s0 :Target Objects [ file ] :Source sa-learn :Source Path /usr/bin/perl :Port <Inconnu> :Host (removed) :Source RPM Packages perl-5.14.2-210.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-76.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux (removed) 3.2.1-5.fc17.x86_64 #1 SMP Tue Jan : 17 18:57:18 UTC 2012 x86_64 x86_64 :Alert Count 2 :First Seen sam. 21 janv. 2012 17:00:04 CET :Last Seen sam. 21 janv. 2012 17:00:17 CET :Local ID b481c82a-25eb-4bd6-9ab3-f9a4f72b40ac : :Raw Audit Messages :type=AVC msg=audit(1327161617.30:413): avc: denied { read } for pid=5648 comm="sa-learn" name="1327052725.M107142P32410.(removed),S=27217,W=27642:2," dev=dm-0 ino=47520 scontext=system_u:system_r:system_cronjob_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:data_home_t:s0 tclass=filenode=(removed) type=AVC msg=audit(1327161617.030:413): avc: denied { open } for pid=5648 comm="sa-learn" name="1327052725.M107142P32410.(removed),S=27217,W=27642:2," dev=dm-0 ino=47520 scontext=system_u:system_r:system_cronjob_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:data_home_t:s0 tclass=file : : :type=SYSCALL msg=audit(1327161617.30:413): arch=x86_64 syscall=open success=yes exit=EIO a0=3d3ce00 a1=0 a2=1b6 a3=250 items=0 ppid=5647 pid=5648 auid=0 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=8 comm=sa-learn exe=/usr/bin/perl subj=system_u:system_r:system_cronjob_t:s0-s0:c0.c1023 key=(null) : :Hash: sa-learn,system_cronjob_t,data_home_t,file,read : :audit2allow : :#============= system_cronjob_t ============== :allow system_cronjob_t data_home_t:file { read open }; : :audit2allow -R : :#============= system_cronjob_t ============== :allow system_cronjob_t data_home_t:file { read open }; :