Bug 799379 - SELinux is preventing /usr/bin/perl from 'read' accesses on the lnk_file /var/log/sagator.
SELinux is preventing /usr/bin/perl from 'read' accesses on the lnk_file /var...
Status: CLOSED DUPLICATE of bug 799377
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
i686 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-03-02 10:40 EST by geminic86
Modified: 2012-03-02 14:52 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-03-02 14:52:19 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description geminic86 2012-03-02 10:40:18 EST
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

: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.
: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
:#============= logwatch_t ==============
:allow logwatch_t var_log_t:lnk_file read;
:audit2allow -R
:#============= logwatch_t ==============
:allow logwatch_t var_log_t:lnk_file read;
Comment 1 Daniel Walsh 2012-03-02 14:52:19 EST

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

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