Red Hat Bugzilla – Bug 815823
/sbin/chkconfig autofs returns wrong exit code
Last modified: 2012-04-24 11:50:57 EDT
Created attachment 579893 [details]
Patch that fixes the problem; declare location of PID file to satisfy systemd.
Description of problem:
Puppet will perpetually try restart the autofs service because it's detection technique for this service gets the wrong results. The recent update to systemd has broken many of the legacy init scripts and this is one example.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Should be able to use 'chkconfig autofs; echo $?' but for some reason I cannot validate that way. It gives the correct result. However puppet testing confirms the problem does exist and the typical fix works here too -- see patch.
I completely hosed this bug report with bad info. Will create another with accurate details.