Bug 246890 - Initscript Review
Summary: Initscript Review
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cobbler
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Michael DeHaan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: InitscriptStatus
TreeView+ depends on / blocked
 
Reported: 2007-07-05 13:48 UTC by Harald Hoyer
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-07-05 15:17:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Harald Hoyer 2007-07-05 13:48:20 UTC
Please have a look at the wikipage 
http://fedoraproject.org/wiki/FCNewInit/Initscripts
and change your initscripts to comply with the LSB standard.
Especially check the exit status and add a LSB Header.
E.g. starting a service should return with 0, if the service is already running and stopping a stopped service should also return with 0.

Also check, if your service has to be _on_ per default, and turn it off in the old chkconfig line, if not.

Thank you.

Comment 1 Michael DeHaan 2007-07-05 14:45:27 UTC
FYI: cobblerd is required to be enabled by default.



Comment 2 Michael DeHaan 2007-07-05 15:14:40 UTC
Looking back over the mailing list, I see no public discussion on this item. 
Discussion on #fedora seems to confirm this came out of the blue.  As it's F8
specific (indeed, install_initd isn't in FC6), more documentation and discussion
is warranted.




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