Bug 1405703 - nagios package is old and has a bug after install using dnf
Summary: nagios package is old and has a bug after install using dnf
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: nagios
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Keiran Smith
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-17 15:56 UTC by Jose Mantilla
Modified: 2017-11-15 17:39 UTC (History)
8 users (show)

Fixed In Version: nagios-4.3.4-3.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-15 17:39:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jose Mantilla 2016-12-17 15:56:07 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. dnf install nagios
2. systemctl restart nagios
3. error

Actual results:


Expected results:


Additional info:
Please, I would appreciate someone include the fix in the package creating inluding this script like postinstall.

---The fix is---

#cat > /tmp/nagios-socket.te <<BEG
module nagios-socket 1.0;
require {
type nagios_t;
type nagios_log_t;
class sock_file { write create unlink };
class unix_stream_socket connectto;
}
allow nagios_t nagios_log_t:sock_file { write create unlink };
allow nagios_t self:unix_stream_socket connectto;
BEG

yum install policycoreutils-python -y
cd /tmp;checkmodule -M -m -o nagios-socket.mod nagios-socket.te
semodule_package -o nagios-socket.pp -m nagios-socket.mod
semodule -i nagios-socket.pp
install -d -m 755 -o nagios -g nagios /var/log/nagios/rw
systemctl restart nagios && systemctl status nagios

Greetings from Colombia

Thank you

Comment 1 Fedora Admin XMLRPC Client 2017-01-20 16:51:12 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Fedora Admin XMLRPC Client 2017-01-20 16:59:56 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Fedora Update System 2017-09-21 00:34:26 UTC
nagios-4.3.4-3.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d270e932a3

Comment 4 Fedora Update System 2017-09-21 23:58:30 UTC
nagios-4.3.4-3.fc27 has been pushed to the Fedora 27 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-2017-d270e932a3

Comment 5 Fedora Update System 2017-11-15 17:39:23 UTC
nagios-4.3.4-3.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


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