Bug 247107 - Initscript Review
Summary: Initscript Review
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: InitscriptStatus
TreeView+ depends on / blocked
 
Reported: 2007-07-05 14:03 UTC by Harald Hoyer
Modified: 2007-12-07 04:33 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-12-07 04:33:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Updated yum-updateonboot with LSB header (2.48 KB, application/octet-stream)
2007-10-12 09:32 UTC, Tim Lauridsen
no flags Details

Description Harald Hoyer 2007-07-05 14:03:16 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 Tim Lauridsen 2007-10-12 09:32:15 UTC
Created attachment 225311 [details]
Updated yum-updateonboot with LSB header

Comment 2 Tim Lauridsen 2007-10-12 09:33:22 UTC
I have added an LSB header to the yum-updateonboot service, does it look ok ?

Comment 3 Seth Vidal 2007-12-07 04:33:12 UTC
I think it looks lovely. closing as nextrelease. Harald, reopen if it's not right.


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