Saturday, August 1, 2020

update-rc.d: warning: start and stop actions are no longer supported; falling back to default

Debian and Ubuntu use the service command to control services and update-rc.d for adding and removing services from start up

The "start" and "stop" arguments are deprecated!
Roger Leigh (Debian developer team) announced that in debian-devel, on May 2013:


update-rc.d install and remove System-V style init script links into the boot sequence.. You can still use it with defaults and remove options but it is still for the boot sequence! systemctl start / stop is not in boot sequence

wtf?


service --status-all
 [ + ]  acpid
 [ - ]  alsa-utils
 [ - ]  anacron
 [ + ]  apparmor
 [ + ]  apport
 [ + ]  avahi-daemon
 [ + ]  binfmt-support
 [ - ]  bluetooth
 [ - ]  console-setup.sh
 [ + ]  cron
 [ + ]  cups
 [ + ]  cups-browsed
 [ + ]  dbus
 [ - ]  dns-clean
 [ + ]  gdm3
 [ + ]  grub-common
 [ - ]  hwclock.sh
 [ + ]  irqbalance
 [ + ]  kerneloops
 [ - ]  keyboard-setup.sh
 [ + ]  kmod
 [ + ]  network-manager
 [ - ]  networking
 [ - ]  openvpn
 [ - ]  plymouth
 [ - ]  plymouth-log
 [ - ]  pppd-dns
 [ + ]  procps
 [ - ]  pulseaudio-enable-autospawn
 [ - ]  rsync
 [ + ]  rsyslog
 [ - ]  saned
 [ - ]  speech-dispatcher
 [ - ]  spice-vdagent
 [ + ]  suricata
 [ + ]  tor
 [ + ]  udev
 [ + ]  ufw
 [ + ]  unattended-upgrades
 [ - ]  uuidd
 [ + ]  whoopsie
 [ - ]  x11-common


sudo update-rc.d openvpn disable

The pppd daemon works together with the kernel PPP driver to establish and ... clients, this option allows pppd to supply one or two DNS (Domain Name Server)

The Procps package provides programs to monitor and halt system processes. Procps gathers information about processes via the /proc directory.