On Wed, Apr 27, 2011 at 08:12:17AM -0500, Greg Swift wrote:
> >
> > IMHO that´s a bug in the packaging... skvidal ?
> 
> The init script has to have the appropriate settings in it, such as
> the default start and stop levels that are present.  Otherwise they
> wouldn't be compliant, and if you run a reset or on on the service it
> wouldn't be put in the appropriate run levels.  


Hmm.. you have the correct setting for "# chkconfig: - 98 99", but
the "INIT INFO" section takes precedence and has:

        # Default-Start: 3 4 5
        # Default-Stop: 0 1 2 6

Are you saying this are required to be present in INIT INFO to be lsb
compliant ? I see many initscripts on my systems without these defined..
F.ex. /etc/init.d/httpd on RHEL6:

        # chkconfig: - 85 15
        <snip>
        ### BEGIN INIT INFO
        # Provides: httpd
        # Required-Start: $local_fs $remote_fs $network $named
        # Required-Stop: $local_fs $remote_fs $network
        # Should-Start: distcache
        # Short-Description: start and stop Apache HTTP Server
        # Description: The Apache HTTP Server is an extensible server 
        #  implementing the current HTTP standards.
        ### END INIT INFO



  -jf

_______________________________________________
Func-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/func-list

Reply via email to