init.d/vzeventd-redhat: add Required-Stop, Required-Start
Basically, we need to have Required-Start and Required-Stop.
Also, we need to depend on $remote_fs since /usr might be on it.
These are the messages from Debian QA script:
W: vzctl: init.d-script-missing-lsb-keyword /etc/init.d/vzeventd required-stop
N:
N: This /etc/init.d script has an LSB keyword section, but it is missing
N: the given required LSB keyword. If the value of this keyword should be
N: empty, please still include it in the LSB keyword section with an empty
N: value.
N:
N: Refer to http://wiki.debian.org/LSBInitScripts for details.
N:
N: Severity: normal, Certainty: certain
N:
W: vzctl: init.d-script-missing-lsb-keyword /etc/init.d/vzeventd required-start
E: vzctl: init.d-script-missing-dependency-on-remote_fs /etc/init.d/vzeventd: required-start
N:
N: The given init script seems to refer to /usr, possibly using a file or
N: binary from there. Without a dependency on $remote_fs in Required-Start
N: or Required-Stop, as appropriate, the init script might be run before
N: /usr is mounted or after it's unmounted.
N:
N: Using Should-Start or Should-Stop to declare the dependency is
N: conceptually incorrect since the $remote_fs facility is always
N: available. Required-Start or Required-Stop should be used instead. Also,
N: please note that $all should not be used in Required-Stop, only
N: Required-Start.
N:
N: Refer to http://wiki.debian.org/LSBInitScripts for details.
N:
N: Severity: important, Certainty: possible
N:
E: vzctl: init.d-script-missing-dependency-on-remote_fs /etc/init.d/vzeventd: required-stop
1 file changed