Bug 513402
| Summary: | SELinux is preventing perl (logwatch_t) "write" to ./services (etc_t). | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Tom Coughlan <coughlan> | |
| Component: | dmraid | Assignee: | Heinz Mauelshagen <heinzm> | |
| Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | high | |||
| Version: | 5.4 | CC: | agk, bmarson, coughlan, dwalsh, dwysocha, ebenes, emcnabb, gozen, heinzm, jburke, jturner, mbroz, mgrepl, mmalik, mnovacek, prockai, syeghiay, tburke, varekova, Winfrid.Tschiedel | |
| Target Milestone: | rc | Keywords: | Regression, Reopened | |
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 475562 | |||
| : | 554700 554754 (view as bug list) | Environment: | ||
| Last Closed: | 2010-03-30 08:52:49 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: | ||||
| Bug Depends On: | 475562 | |||
| Bug Blocks: | 554754 | |||
|
Comment 1
Tom Coughlan
2009-07-23 14:25:35 UTC
Anyone see any problems if we moved the file to /var/cache/logwatch/dmeventd/syslogpattern.txt ? For the time being, we don't activate monitoring in initrd so it should work. Once we decide to change this, /var ain't mounted yet and we'll get a problem. Change as of comment #5 added to repository. *** Bug 508745 has been marked as a duplicate of this bug. ***
dmeventd_syslogpattern.txt is the file that has beeing created in
/etc/logwatch/scripts/services and caused SELinux denials. This file is in the new version 60.el5 being created in /var/cache/logwatch/dmeventd/
$ rpm -q dmraid-events-logwatch
dmraid-events-logwatch-1.0.0.rc13-60.el5
$ diff /tmp/dmeventd.33.el5 /etc/logwatch/scripts/services/dmeventd
40c40
< "/etc/logwatch/scripts/services/dmeventd_syslogpattern.txt";
---
> "/var/cache/logwatch/dmeventd/syslogpattern.txt";
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-2010-0286.html *** Bug 509962 has been marked as a duplicate of this bug. *** |