[Fedora-packaging] Packaging/SysVInitScript reload() bug

Ville Skyttä ville.skytta at iki.fi
Fri Apr 18 05:54:42 UTC 2008


The init script template in Packaging/SysVInitScript makes the reload action 
invoke restart if the service is running.  This is a bug wrt. LSB, there the 
reload action is specified as:

"cause the configuration of the service to be reloaded without actually 
stopping and restarting the service"

I'd suggest changing the default reload() in the template to something like 
(this is how it is in the current rpmdevtools init script template):

reload() {
    # If config can be reloaded without restarting, implement it here,
    # remove the "exit", and add "reload" to the usage message below.
    action $"Service $prog does not support the reload action: " /bin/false
    exit 3
}

...and removing "reload" from the default usage message.




More information about the Fedora-packaging mailing list