Bug 799379 - SELinux is preventing /usr/bin/perl from 'read' accesses on the lnk_file /var/log/sagator.
Summary: SELinux is preventing /usr/bin/perl from 'read' accesses on the lnk_file /var...
Keywords:
Status: CLOSED DUPLICATE of bug 799377
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:d55615ca31ef537bbc75f4f5ce7...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-02 15:40 UTC by geminic86
Modified: 2012-03-02 19:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-02 19:52:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description geminic86 2012-03-02 15:40:18 UTC
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;
:

Comment 1 Daniel Walsh 2012-03-02 19:52:19 UTC

*** 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.