FEDORA-EPEL-2015-eed09b5974 created by swilkerson 4 years ago for Fedora EPEL 7
stable

Fixed location for nagios.qh Fixed selinux policy Fixed pid file from not being created correctly

This update has been submitted for testing by swilkerson.

4 years ago

This update has been pushed to testing.

4 years ago
User Icon anonymous commented & provided feedback 4 years ago

Tested, works from Nagios Core 4.x -> Nagios Core 4.x, works when installed fresh, also fixes the previous bad patch.

karma: +1

BZ#1291718 nagios 4.0.8 fails to start with "Error: Failed to initialize query handler" (bind() failed: No such file or directory)
BZ#1291734 nagios 4.0.8 fails to start with a "permission denied" error if SELinux is enabled
BZ#1291555 Nagios 4.0.8 won't write pid to predefined pidfile
User Icon anonymous commented & provided feedback 4 years ago

Patch creates significant dependencies that were not there before, even on a system with SELinux disabled

audit-libs-python       x86_64  2.4.1-5.el7    base    69 k
checkpolicy             x86_64  2.1.12-6.el7   base   247 k
libcgroup               x86_64  0.41-8.el7     base    64 k
libsemanage-python      x86_64  2.1.10-18.el7  base    94 k
policycoreutils-python  x86_64  2.2.5-20.el7   base   435 k
python-IPy              noarch  0.75-6.el7     base    32 k
setools-libs            x86_64  3.3.7-46.el7   base   485 k

karma: +1

BZ#1291718 nagios 4.0.8 fails to start with "Error: Failed to initialize query handler" (bind() failed: No such file or directory)
BZ#1291734 nagios 4.0.8 fails to start with a "permission denied" error if SELinux is enabled
BZ#1291555 Nagios 4.0.8 won't write pid to predefined pidfile
User Icon pbiering commented & provided feedback 4 years ago
karma

PID file now created in case nagios.cfg contains also the proper "lock_file" option "lock_file=/var/run/nagios/nagios.pid"

In case it's still: "lock_file=/var/run/nagios.pid" nagios will not start in daemon mode, only silently quitting, but strace showed a permission denied -> check during upgrade that "lock_file" option matches "PIDFile" option from "/usr/lib/systemd/system/nagios.service"

BZ#1291555 Nagios 4.0.8 won't write pid to predefined pidfile

This update has reached 14 days in testing and can be pushed to stable now if the maintainer wishes

4 years ago
User Icon sergiopr provided feedback 4 years ago
karma
BZ#1291718 nagios 4.0.8 fails to start with "Error: Failed to initialize query handler" (bind() failed: No such file or directory)
BZ#1291734 nagios 4.0.8 fails to start with a "permission denied" error if SELinux is enabled

This update has been submitted for stable by swilkerson.

4 years ago

This update has been pushed to stable.

4 years ago

Please login to add feedback.

Metadata
Type
bugfix
Severity
urgent
Karma
2
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
3
Dates
submitted
4 years ago
in testing
4 years ago
in stable
4 years ago
BZ#1291555 Nagios 4.0.8 won't write pid to predefined pidfile
0
2
BZ#1291718 nagios 4.0.8 fails to start with "Error: Failed to initialize query handler" (bind() failed: No such file or directory)
0
2
BZ#1291734 nagios 4.0.8 fails to start with a "permission denied" error if SELinux is enabled
-1
1

Automated Test Results