Bug 658820
Summary: | SELinux is preventing /usr/sbin/exim "search" access on nagios. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Russell Odom <russ+bugzilla-redhat> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 13 | CC: | dwalsh, mgrepl, russ+bugzilla-redhat |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | setroubleshoot_trace_hash:ccf7f6ed21148a6510d335c5bce0ab7b2b5ac0d5fb052675471ed1566c303cca | ||
Fixed In Version: | selinux-policy-3.7.19-74.fc13 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-12-06 19:59:17 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
Russell Odom
2010-12-01 12:18:03 UTC
Fixed in selinux-policy-3.7.19-74.fc13 selinux-policy-3.7.19-74.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/selinux-policy-3.7.19-74.fc13 I think this may actually be a Nagios problem. It seems that in its default config it sends mail to & from the "nagios" user, via the admin_email setting in nagios.cfg ("nagios@localhost" by default) - even though I'd set my e-mail in contacts.cfg as per the Fedora quickstart guide in the docs. Exim is barfing on trying to process the recipient: 2010-12-01 12:16:23 1PNlbj-0008D9-43 <= nagios.co.uk U=nagios P=local S=824 2010-12-01 12:16:23 1PNlbj-0008D9-43 == nagios@localhost R=userforward defer (-1): failed to open /var/spool/nagios/.forward: Permission denied (euid=483 egid=467) I worked around it by adding an alias for the nagios user in /etc/aliases, and suddenly got a flurry of mails generated by the default localhost.cfg! However, we should probably not be attempting to deliver to this user by default, as most people will not realise to read this a/c's mail - root would be a better choice. Either admin_email should be changed, or the install should add an alias to /etc/aliases, or /var/spool/nagios/.forward should exist with suitable contents (and be readable by the MTA). Russell, please open a new bug with nagios. selinux-policy-3.7.19-74.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.7.19-74.fc13 selinux-policy-3.7.19-74.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |