Bug 1120638
| Summary: | nrpe fails to bind to device on boot, fails to start | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Sergio Pascual <sergio.pasra> |
| Component: | nrpe | Assignee: | Scott Wilkerson <swilkerson> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 21 | CC: | jose.p.oliveira.oss, jss, ondrejj, pedemonte, s, swilkerson |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-09-11 18:06:15 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
Sergio Pascual
2014-07-17 10:08:27 UTC
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This sounds like your network connection that is assigning xxx.xxx.xxx.xxx is coming up late in the boot cycle, AFTER nrpe is attempting to start. Yes, I agree As such, there is no way for nrpe to bind to an address that doesn't exist, and I would have to mark this as expected behavior. This problem reported 3 1/2 years ago, and yet, here i am, having my time wasted, because the problem still exists in el7, and fedora 27. Closing this bug was a pathetic response. How about setting up your initscripts or systemd units so nrpe starts AFTER the networking units eh? If this is too much bother for *YOU* to do, what in the seven hells gives you the right to waste your user's time by requiring them to do it? Until nagios maintainers address this issue, you can resolve it by creating a systemd drop-in. Create the file: /etc/systemd/system/nrpe.service.d/nrpe.conf containing: [Unit] Requires=network-online.target After=network-online.target Reboot, and you should see that systemd has started nrpe after your network has come up, and so nrpe should start successfully. The systemd unit files (and initscripts for sysv distros) for nagios *should* do this themselves, and it is a bug in nrpe that they don't Whoever looks after nrpe should fix this ASAP. |