| Summary: | SELinux is preventing /usr/bin/perl from 'read' accesses on the lnk_file /var/log/sagator. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | geminic86 |
| 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: | i686 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:d55615ca31ef537bbc75f4f5ce79686a9880f39d3fe905df8d3aa1be6213f129 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-02 19:52:19 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 799377 *** |
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.2.7-1.fc16.i686.PAE reason: SELinux is preventing /usr/bin/perl from 'read' accesses on the lnk_file /var/log/sagator. time: Fri 02 Mar 2012 10:40:06 AM EST description: :SELinux is preventing /usr/bin/perl from 'read' accesses on the lnk_file /var/log/sagator. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that perl should be allowed read access on the sagator lnk_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 logwatch /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:logwatch_t:s0-s0:c0.c1023 :Target Context system_u:object_r:var_log_t:s0 :Target Objects /var/log/sagator [ lnk_file ] :Source logwatch :Source Path /usr/bin/perl :Port <Unknown> :Host (removed) :Source RPM Packages perl-5.14.2-195.fc16.i686 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-75.fc16.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.2.7-1.fc16.i686.PAE #1 SMP Tue Feb : 21 01:30:59 UTC 2012 i686 i686 :Alert Count 4 :First Seen Fri 02 Mar 2012 10:36:02 AM EST :Last Seen Fri 02 Mar 2012 10:36:02 AM EST :Local ID 987442f4-e13c-44cc-87b8-e1f34705a78d : :Raw Audit Messages :type=AVC msg=audit(1330702562.630:388): avc: denied { read } for pid=6799 comm="logwatch" name="sagator" dev=dm-1 ino=1206 scontext=system_u:system_r:logwatch_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_log_t:s0 tclass=lnk_file : : :type=SYSCALL msg=audit(1330702562.630:388): arch=i386 syscall=openat success=no exit=EACCES a0=ffffff9c a1=bfdf2a8c a2=98800 a3=0 items=0 ppid=6797 pid=6799 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=7 comm=logwatch exe=/usr/bin/perl subj=system_u:system_r:logwatch_t:s0-s0:c0.c1023 key=(null) : :Hash: logwatch,logwatch_t,var_log_t,lnk_file,read : :audit2allow : :#============= logwatch_t ============== :allow logwatch_t var_log_t:lnk_file read; : :audit2allow -R : :#============= logwatch_t ============== :allow logwatch_t var_log_t:lnk_file read; :