Re: LSB Status
In article <[🔎] 20020105071025.A24680@svpal.svpal.org>,
Grant Bowman <grantbow@svpal.org> wrote:
>Actually, "Init files shall accept one argument, saying what to do" with
>all of {start, stop, restart, reload, force-reload, status} being
>listed. This indicates to me that this is a required change to be LSB
>compliant and a highly visible one to sysadmins.
>
> http://www.linuxbase.org/spec/gLSB/gLSB/iniscrptact.html
>
>Even more specifically "Each LSB-compliant init.d script must source the
>file /lib/lsb/init-functions. This file must cause the following shell
>script commands to be defined..." There's also a requirement that may
>have other ramifications. "...the LSB init.d files themselves should
>only depend in /bin/sh features as defined by POSIX.2."
>
> http://www.linuxbase.org/spec/gLSB/gLSB/iniscrptfunc.html
Yes, but the spec is talking about *.lsb packages, NOT about
*.deb or *.rpm packages. Those don't have to be changed.
Mike.
Reply to: