[Bug 128184] Re: Remove avahi-daemon from runlevels 0-6

Jörg Frings-Fürst jff at jff-webhosting.net
Fri Dec 27 09:57:25 UTC 2013


Hi

in 13.10 the values are

# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6

Can this bug closed?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to avahi in Ubuntu.
https://bugs.launchpad.net/bugs/128184

Title:
  Remove avahi-daemon from runlevels 0-6

Status in “avahi” package in Ubuntu:
  Triaged

Bug description:
  avahi-daemon is currently stopped in runlevels 0 and 6. Is this
  necessary? It doesn't seem to do anything much of note on SIGTERM; as
  far as I can see it doesn't need to write out any persistent state to
  disk or anything like that. We established a while back in Ubuntu that
  only services which need careful shutdown procedures need to have
  their init scripts run in runlevels 0 or 6, while everything else
  should be handled by the SIGTERM/wait-five-seconds/SIGKILL procedure
  in /etc/init.d/sendsigs.

  If my assessment is accurate, then please adjust avahi-daemon's
  update-rc.d invocation to remove it from runlevels 0 and 6. Note that
  you'll need explicit migration code in the postinst to remove the old
  rc[06].d symlinks on upgrade, e.g.:

  # Remove shutdown and reboot links; this init script does not need them.
  if dpkg --compare-versions "$2" lt WHATEVER_THE_RELEVANT_VERSION_IS; then
          rm -f /etc/rc0.d/K16avahi-daemon /etc/rc6.d/K16avahi-daemon
  fi

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/128184/+subscriptions



More information about the foundations-bugs mailing list