Bug 246874 - Initscript Review
Summary: Initscript Review
Alias: None
Product: Fedora
Classification: Fedora
Component: autofs
Version: 8
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jeff Moyer
QA Contact: Fedora Extras Quality Assurance
Whiteboard: bzcl34nup
Depends On:
Blocks: InitscriptStatus
TreeView+ depends on / blocked
Reported: 2007-07-05 13:47 UTC by Harald Hoyer
Modified: 2008-04-04 19:26 UTC (History)
2 users (show)

Clone Of:
Last Closed: 2008-04-04 19:26:12 UTC

Attachments (Terms of Use)

Description Harald Hoyer 2007-07-05 13:47:21 UTC
Please have a look at the wikipage 
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 Jeff Moyer 2007-11-26 21:53:48 UTC
OK, I have a few questions:

1) Is there a listing of what packages "Provide"?  For example, in order for
autofs to be useful, it may need to access the ldap server or nis server on the
local system (yes, people configure things this way).  Do I have to look at the
Provides: lines for each package that this one *may* rely upon?

2) What the automounter needs at startup is very much configuration dependent. 
So, some installations may require the ldap server to be running while others
may not.  In fact, it is often not even a requirement to have the ldap server
installed.  In such a case, should we list the ldap server as a requirement? 
What happens when the init system runs into a requirement that does not exist?

3) Does $remote_fs include automounted file systems?  My guess would be yes,
which means that we provide a *part* of $remote_fs.  How does that work?


Comment 2 Bug Zapper 2008-04-04 12:57:03 UTC
Based on the date this bug was created, it appears to have been reported
during the development of Fedora 8. In order to refocus our efforts as
a project we are changing the version of this bug to '8'.

If this bug still exists in rawhide, please change the version back to
(If you're unable to change the bug's version, add a comment to the bug
and someone will change it for you.)

Thanks for your help and we apologize for the interruption.

The process we're following is outlined here:

We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.

Comment 3 Jeff Moyer 2008-04-04 19:26:12 UTC
Based on recent discussion on the fedora devel mailing list[1], I'm closing this

1. https://www.redhat.com/archives/fedora-devel-list/2008-April/msg00073.html

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