This service will be undergoing maintenance at 00:00 UTC, 2016-09-28. It is expected to last about 1 hours
Bug 455697 - SELinux is preventing perl (logwatch_t) "getattr" to /root (user_home_dir_t)
SELinux is preventing perl (logwatch_t) "getattr" to /root (user_home_dir_t)
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy (Show other bugs)
5.2
i386 Linux
low Severity low
: rc
: ---
Assigned To: Daniel Walsh
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-17 04:29 EDT by eric
Modified: 2009-01-20 16:32 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-01-20 16:32:12 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description eric 2008-07-17 04:29:04 EDT
Description of problem:
SELinux is preventing perl (logwatch_t) "getattr" to /root (user_home_dir_t). 

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. 

Version-Release number of selected component (if applicable):
Source Context:  system_u:system_r:logwatch_t:SystemLow-SystemHigh
Target Context:  root:object_r:user_home_dir_t
Target Objects:  /root [ dir ]
Source:  0logwatch
Source Path:  /usr/bin/perl
Port:  <Unknown>
Host:  funexafs
Source RPM Packages:  perl-5.8.8-10.el5_2.3
Target RPM Packages:  filesystem-2.4.0-1
Policy RPM:  selinux-policy-2.4.6-137.1.el5_2
Selinux Enabled:  True
Policy Type:  targeted
MLS Enabled:  True
Enforcing Mode:  Enforcing
Plugin Name:  catchall_file
Host Name:  funexafs
Platform:  Linux funexafs 2.6.18-92.1.6.el5

How reproducible:
Once a day - every day
Comment 1 Ivana Varekova 2008-07-21 04:20:25 EDT
Daniel, could you please look at this.
Comment 2 Daniel Walsh 2008-07-24 09:01:37 EDT
This looks like logwatch is searching the /root directory for bad contents?

I will have a fix for this in selinux-policy-2.4.6-142.el5

For now it can be ignored.
Comment 9 errata-xmlrpc 2009-01-20 16:32:12 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-0163.html

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