Bug 1749156
| Summary: | SELinux file label prevents access include_dir | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Nigel <nmarshall> |
| Component: | nrpe | Assignee: | Jan ONDREJ <ondrejj> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel7 | CC: | athmanem, b.heden, herrold, jose.p.oliveira.oss, miminar, ondrejj, smooge, s, swilkerson |
| Target Milestone: | --- | Keywords: | SELinux |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-02-18 07:19:55 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Nigel
2019-09-05 04:01:21 UTC
nrpe_etc_t seems to be the appropriate context
Executing the following on the monitored hosts fixed the problem for me:
# ansible -i hosts kvm -m shell -a "semanage fcontext -a -t nrpe_etc_t '/etc/nrpe\\.d(/.*)' && restorecon -vR /etc/nrpe.d && systemctl restart nrpe"
lu0536.wdf.sap.corp | CHANGED | rc=0 >>
restorecon reset /etc/nrpe.d/lcgdm-common.cfg context system_u:object_r:etc_t:s0->system_u:object_r:nrpe_etc_t:s0
restorecon reset /etc/nrpe.d/lcgdm-lfc.cfg context system_u:object_r:etc_t:s0->system_u:object_r:nrpe_etc_t:s0
restorecon reset /etc/nrpe.d/lcgdm-headnode.cfg context system_u:object_r:etc_t:s0->system_u:object_r:nrpe_etc_t:s0
restorecon reset /etc/nrpe.d/lcgdm-disk.cfg context system_u:object_r:etc_t:s0->system_u:object_r:nrpe_etc_t:s0
restorecon reset /etc/nrpe.d/commands.cfg context system_u:object_r:nagios_etc_t:s0->system_u:object_r:nrpe_etc_t:s0
This package has changed maintainer in the Fedora. Reassigning to the new maintainer of this component. FEDORA-2020-bb9180bf52 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-bb9180bf52 FEDORA-2020-dee27d9c9c has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-dee27d9c9c nagios-4.4.5-5.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-dee27d9c9c nagios-4.4.5-5.fc32 has been pushed to the Fedora 32 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-bb9180bf52 FEDORA-EPEL-2020-dbdd968fc0 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-dbdd968fc0 This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. This bug is open long time and reported against NRPE3. Currently we have NRPE4 in Fedora/EPEL. Not sure, if this is still present. Closing, but feel free to reopen, if it's still present. |