Bug 815823 - /sbin/chkconfig autofs returns wrong exit code
Summary: /sbin/chkconfig autofs returns wrong exit code
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: autofs
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ian Kent
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-24 15:28 UTC by John Florian
Modified: 2012-04-24 15:50 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-04-24 15:50:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch that fixes the problem; declare location of PID file to satisfy systemd. (380 bytes, patch)
2012-04-24 15:28 UTC, John Florian
no flags Details | Diff

Description John Florian 2012-04-24 15:28:43 UTC
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):
autofs-5.0.6-5.fc16.x86_64

How reproducible:
always

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.

Comment 1 John Florian 2012-04-24 15:50:57 UTC
I completely hosed this bug report with bad info.  Will create another with accurate details.


Note You need to log in before you can comment on or make changes to this bug.