Bug#851730: init-system-helpers: update-rc.d fails to disable nbd-server

Christoph Anton Mitterer calestyo at scientia.net
Wed Jan 18 02:52:54 GMT 2017


Package: init-system-helpers
Version: 1.46
Severity: important

Hi.

Not sure why the following happens:
# update-rc.d nbd-server disable
update-rc.d: error: nbd-server Default-Start contains no runlevels, aborting.


Trying to enable it gives the same error:
# update-rc.d nbd-server enable
update-rc.d: error: nbd-server Default-Start contains no runlevels, aborting.


# grep Default-Start /etc/init.d/nbd-server
# Default-Start: 2 3 4 5 


# l /etc/rc*.d | grep nbd
lrwxrwxrwx 1 root root   20 Jan 14 20:12 K01nbd-client -> ../init.d/nbd-client
lrwxrwxrwx 1 root root   20 Jan 14 01:34 K01nbd-server -> ../init.d/nbd-server
lrwxrwxrwx 1 root root   20 Jan 14 01:34 K01nbd-server -> ../init.d/nbd-server
lrwxrwxrwx 1 root root   20 Jan 14 01:34 S03nbd-server -> ../init.d/nbd-server
lrwxrwxrwx 1 root root   20 Jan 14 01:34 S03nbd-server -> ../init.d/nbd-server
lrwxrwxrwx 1 root root   20 Jan 14 01:34 S03nbd-server -> ../init.d/nbd-server
lrwxrwxrwx 1 root root   20 Jan 14 01:34 S03nbd-server -> ../init.d/nbd-server
lrwxrwxrwx 1 root root   20 Jan 14 20:12 K01nbd-client -> ../init.d/nbd-client
lrwxrwxrwx 1 root root   20 Jan 14 01:34 K01nbd-server -> ../init.d/nbd-server
lrwxrwxrwx 1 root root   20 Jan 14 20:12 S15nbd-client -> ../init.d/nbd-client


Thus one cannot cleanly disable this and systemd always starts it again.

Marking it important as this may lead to devices being exported while the user
thinks the daemon was disabled.


Cheers,
Chris.

-- System Information:
Debian Release: 9.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages init-system-helpers depends on:
ii  perl-base  5.24.1-1

init-system-helpers recommends no packages.

init-system-helpers suggests no packages.

Versions of packages init-system-helpers is related to:
ii  insserv  1.14.0-5.4

-- no debconf information



More information about the Pkg-systemd-maintainers mailing list