Bug#591791: [PATCH] Document generic and upstart-specific init-system requirements
Steve Langasek <vorlon@debian.org> writes:
> I think you've misunderstood the intent here. When upstart is
> installed, it provides *commands* called "start", "restart", "reload",
> and "stop" in /sbin. These are the commands that must not be called
> from maintainer scripts. It has nothing to do with invocation of
> /etc/init.d/<package> scripts, which is already prohibited elsewhere in
> policy.
> Is there a word that you think would be less ambiguous than "command" for
> expressing this?
Oh, yes, I misunderstood that too. How about:
These maintainer scripts must not call the upstart
<prgn>start</prgn>, <prgn>restart</prgn>, <prgn>reload</prgn>, or
<prgn>stop</prgn> interfaces directly.
which uses the same term (interfaces) that is used for calling invoke-rc.d
and update-rc.d?
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: