[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#380692: section on invoke-rc.d doesn't make sense



Package: debian-policy
Version: 3.7.2.1
Severity: normal

Section 9.3.3.2 "Running initscripts" reads:

    The program invoke-rc.d is provided to make it easier for package
    maintainers to properly invoke an initscript, obeying runlevel and
    other locally-defined constraints that might limit a package's right to
    start, stop and otherwise manage services. This program may be used by
    maintainers in their packages' scripts.

    The program must use invoke-rc.d to invoke the /etc/init.d/* initscripts,
    instead of calling them directly. 

What does "the program" refer to in the second paragraph?  The only "program"
that is mentioned previously (twice) is invoke-rc.d, but

   invoke-rc.d must use invoke.rc to invoke ...

doesn't make sense.

What requirement is this paragraph trying to express?

- The maintainer scripts must use invoke-rc.d ...

- Any scripts supporting the package must use invoke-rc.d ...
  [e.g., cron, logrotate scripts]

- The software installed by the package must use invoke-rc.d ...



Reply to: