Description of problem: Version-Release number of selected component (if applicable): nagios-4.3.2-5.el6.x86_64 nagios-selinux-4.3.2-5.el6.x86_64 selinux-policy-targeted-3.7.19-307.el6_9.2.noarch How reproducible: Steps to Reproduce: 1. yum install nagios-selinux 2. semodule -l |grep nagios 3. Actual results: nagios 1.8.0 Expected results: nagios 1.8.0 nagios_epel Additional info: Post install script includes: semodule -i /usr/share/selinux/packages/nagios_epel.pp 2>/dev/null || : Package installed module in /usr/share/selinux/packages/nagios/nagios_epel.pp Not: /usr/share/selinux/packages/nagios_epel.pp Manual install attempt: # semodule -i /usr/share/selinux/packages/nagios/nagios_epel.pp libsepol.print_missing_requirements: nagios_epel's global requirements were not met: type/attribute nagios_script_t (No such file or directory). libsemanage.semanage_link_sandbox: Link packages failed (No such file or directory). semodule: Failed!
Thank you for catching this blatantly silly mistake on my part.
nagios-4.3.2-9.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-42b05795fd
# rpm --erase nagios-selinux nagios_epel not found # rpm -U nagios-4.3.2-9.el6.x86_64.rpm nagios-common-4.3.2-9.el6.x86_64.rpm # rpm -i nagios-selinux-4.3.2-9.el6.x86_64.rpm # semodule -l |grep nagios nagios 1.8.0 # semodule -i /usr/share/selinux/packages/nagios/nagios_epel.pp libsepol.print_missing_requirements: nagios_epel's global requirements were not met: type/attribute nagios_script_t (No such file or directory). libsemanage.semanage_link_sandbox: Link packages failed (No such file or directory). semodule: Failed! 1/2 issues fixed...
nagios-4.3.2-10.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-e7a6090e6c
Root cause analysis: 1. Tested on existing system with prebuilt selinux module 2. Forgot to remove prebuilt Fixes: 1. Spin up fresh EL6 and EL7 systems 2. Test on those before doing fedpkg update
# rpm --erase nagios-selinux # rpm -U nagios-4.3.2-10.el6.x86_64.rpm nagios-common-4.3.2-10.el6.x86_64.rpm # rpm -i nagios-selinux-4.3.2-10.el6.x86_64.rpm # semodule -l |grep nagios nagios 1.8.0 nagios_epel 1.1 Looks like a fix to me.
New issue # service nagios start Starting nagios:mktemp: too few X's in template `/var/log/nagios/nagios.configtest.xxx' /etc/init.d/nagios: line 96: : No such file or directory grep: : No such file or directory grep: : No such file or directory egrep: : No such file or directory cat: : No such file or directory
nagios-4.3.2-11.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-7f9225bb51
That one seems to fix it.
nagios-4.3.2-11.el6 has been pushed to the Fedora EPEL 6 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-EPEL-2017-7f9225bb51
nagios-4.3.4-3.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-170150faa2
nagios-4.3.4-3.el6 has been pushed to the Fedora EPEL 6 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-EPEL-2017-170150faa2
nagios-4.3.4-4.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.