[Pkg-sysvinit-devel] Bug#814666: sysv-rc: update-rc.d prints incomplete usage (missing 'defaults')

El Topo ansel88 at gmail.com
Sat Feb 13 20:08:20 UTC 2016


Package: sysv-rc
Version: 2.88dsf-59.2
Severity: minor

Dear Maintainer,

update-rc.d prints incomplete usage for itself.

Here's the output of update-rc.d command:

# update-rc.d --help
update-rc.d: error: --help
usage: update-rc.d [-n] [-f] <basename> remove
       update-rc.d [-n] <basename> disable|enable [S|2|3|4|5]
                -n: not really
                -f: force

The disable|enable API is not stable and might change in the future.



However, this is copied from update-rc.d's manpage:

SYNOPSIS
       update-rc.d [-n] [-f] name remove

       update-rc.d [-n] name defaults

       update-rc.d [-n] name disable|enable [ S|2|3|4|5 ]




As you can see, "update-rc.d [-n] name defaults" is missing from update-rc.d's
usage.


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.3.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sysv-rc depends on:
ii  debconf [debconf-2.0]  1.5.58
ii  insserv                1.14.0-5.2
ii  startpar               0.59-3
ii  sysvinit-utils         2.88dsf-59.2

Versions of packages sysv-rc recommends:
ii  lsb-base  9.20160110

Versions of packages sysv-rc suggests:
pn  bum  <none>

-- debconf-show failed



More information about the Pkg-sysvinit-devel mailing list