| Summary: | Change to systemd causes monit startup to report fail | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ken Hall <kjhall55> |
| Component: | monit | Assignee: | Maxim Burgerhout <maxim> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | cro, maxim, michel, s.adam |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | monit-5.2.5-3.fc16 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-10 00:52:11 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Ken Hall
2012-01-31 22:06:33 UTC
I'm seeing something similar with portsentry, which doesn't create a pid file: Jan 29 06:31:02 gwladys systemd[1]: Failed to read PID file /var/run/portsentry.pid after start. The service might be broken. At this point portsentry is running normally. portsentry has a sysv init script /etc/init.d/portsentry This is with systemd-37-11. Reverting to systemd-37-3 makes everything work as expected. monit-5.2.5-3.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/monit-5.2.5-3.fc16 I rebuilt the monit RPM for F16. The problem was that systemd now reads the SysV init script and looks for a pidfile keyword. If that is found, it reads the name of the PID file from there. We have had /var/run/monit in there for ages. I changed that line to /var/run/monit.pid and it runs fine now on my system. I uploaded the update to Bodhi already (see above). Maybe you guys can test it and give it some karma so it flows through Bodhi a bit faster :) Thanks for reporting this bug. The portsentry init.d file contained: # pidfile: /var/run/portsentry.pid Removing this fixes the problem for me. Provided update to monit corrects problem. Thanks! Package monit-5.2.5-3.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing monit-5.2.5-3.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-1110/monit-5.2.5-3.fc16 then log in and leave karma (feedback). monit-5.2.5-3.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |