Bug 563265

Summary: SELinux is preventing /usr/bin/perl "write" access on /etc/logwatch/scripts/services.
Product: [Fedora] Fedora Reporter: Retlaw Dlawso <boeuf32>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: anton, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:667cb57dcaf458d0492110f0d04434012e93a3dd0e6f7245c2da2c801fcc6c88
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-09 17:26:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Retlaw Dlawso 2010-02-09 17:09:25 UTC
Summary:

SELinux is preventing /usr/bin/perl "write" access on
/etc/logwatch/scripts/services.

Detailed Description:

SELinux denied access requested by perl. It is not expected that this access is
required by perl and this access may signal an intrusion attempt. It is also
possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:logwatch_t:s0-s0:c0.c1023
Target Context                system_u:object_r:etc_t:s0
Target Objects                /etc/logwatch/scripts/services [ dir ]
Source                        perl
Source Path                   /usr/bin/perl
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           perl-5.10.0-87.fc12
Target RPM Packages           logwatch-7.3.6-49.fc12
Policy RPM                    selinux-policy-3.6.32-78.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31.12-174.2.3.fc12.x86_64 #1 SMP Mon Jan 18
                              19:52:07 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Tue 09 Feb 2010 09:23:04 AM CET
Last Seen                     Tue 09 Feb 2010 09:23:04 AM CET
Local ID                      683481b2-1ea7-49fd-88eb-00eec8b7ec59
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1265703784.960:26617): avc:  denied  { write } for  pid=4310 comm="perl" name="services" dev=dm-1 ino=17405 scontext=system_u:system_r:logwatch_t:s0-s0:c0.c1023 tcontext=system_u:object_r:etc_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1265703784.960:26617): arch=c000003e syscall=2 success=no exit=-13 a0=13c9fb8 a1=241 a2=1b6 a3=7f45b04f5920 items=0 ppid=4307 pid=4310 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=2 comm="perl" exe="/usr/bin/perl" subj=system_u:system_r:logwatch_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-78.fc12,catchall,perl,logwatch_t,etc_t,dir,write
audit2allow suggests:
audit2allow is not installed.

Comment 1 Daniel Walsh 2010-02-09 17:26:55 UTC

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