Red Hat Bugzilla – Bug 804880
rwhod is killed by systemd
Last modified: 2012-04-24 10:49:26 EDT
Description of problem:
rwhod won't stay up for more than about 2 minutes, then systemd kills it
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. systemctl start rwhod.service
2. note this doesn't return for 2 minutes; note rwhod runs for 2 minutes
3. note rwhod is no longer running after 2 minutes
rwhod not running
/lib/systemd/system/rwhod.service has been configured with the
PIDFile=/var/run/rwhod.pid parameter, telling systemd to expect a pid
file when rwhod is happy.
However rwhod never writes a pid file, so systemd kills it after 2 minutes.
In prior Fedora releases, the /etc/init.d/rwhod script did a 'touch /var/run/rwhod.pid' for completeness.
The fix is to remove the PIDFile arg from /lib/systemd/system/rwhod.service,
or to modify rwhod source to get it to write a pid file.
This bug has been fixed together with bug #799246 and a new rwho-0.17-39.fc16 is already in F16.
Please, try the new build also available here:
Tried new version; starts ok. Thanks.
*** Bug 815590 has been marked as a duplicate of this bug. ***