Bug 246878 - Initscript Review
Initscript Review
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: bind (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Adam Tkac
Fedora Extras Quality Assurance
:
: 242736 (view as bug list)
Depends On:
Blocks: InitscriptStatus
  Show dependency treegraph
 
Reported: 2007-07-05 09:47 EDT by Harald Hoyer
Modified: 2013-04-30 19:36 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-07-17 06:48:39 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Harald Hoyer 2007-07-05 09:47:36 EDT
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 Adam Tkac 2007-07-17 02:11:26 EDT
*** Bug 242736 has been marked as a duplicate of this bug. ***
Comment 2 Adam Tkac 2007-07-17 02:18:05 EDT
I'm not sure _why_ service has to be enabled by default. (I prefer disable it by
default and explicitly enable)

Adam
Comment 3 Harald Hoyer 2007-07-17 05:13:18 EDT
me, too, cause you have to configure it anyway.
Comment 4 Adam Tkac 2007-07-17 06:48:39 EDT
Fixed in rawhide (commited, not build yet) but I enabled only 3 and 5 runlevels
by default (when all
runlevels is on it doesn't works). I'm ready change it when all will be ready
(or you could do it)

Adam

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