confirmed: ubuntu 7.10, ubuntu-desktop confirmed: ubuntu 8.04, ubuntu-desktop and xubuntu-desktop for a list of possibly affected services, grep -e "invoke-rc.d" /var/lib/dpkg/info/*postinst
Every upgrade or reinstall of an affected service triggers this bug, if the service was disabled with services-admin application. The services' postinst maintainer script runs invoke-rc.d, which in turn starts the service if the service link in the current runlevel is missing (deleted by services-admin). Reproduced this way: # terminal [EMAIL PROTECTED]:~$ runlevel N 2 [EMAIL PROTECTED]:~$ ls /etc/rc2.d/*avahi-daemon /etc/rc2.d/S18avahi-daemon # menu System>Administration>Services: "disable" avahi-daemon [EMAIL PROTECTED]:~$ ls /etc/rc2.d/*avahi-daemon ls: /etc/rc2.d/*avahi-daemon: No such file or directory [EMAIL PROTECTED]:~$ ps ax | grep avahi 9666 pts/1 S+ 0:00 grep avahi [EMAIL PROTECTED]:~$ sudo invoke-rc.d avahi-daemon start [sudo] password for user: * Starting Avahi mDNS/DNS-SD Daemon avahi-daemon [ OK ] [EMAIL PROTECTED]:~$ ps ax | grep avahi 9699 ? Ss 0:00 avahi-daemon: registering [ubuntu.local] 9700 ? Ss 0:00 avahi-daemon: chroot helper 9707 pts/1 R+ 0:00 grep avahi This bug only shows up with deleted links. It is not restricted to avahi-daemon. Reproduced with atd, avahi-daemon, cupsys, sysklogd (others not tested). invoke-rc.d acts as expected (does not start the service) if the service was correctly disabled (link renamed to Knn...). This can be done using an undocumented feature of services-admin: Right-click on the service, in the advanced settings select "stop". Do not select "ignore" here: the services' link will then be deleted and cause this bug to happen again on next upgrade or reinstall. One of invoke-rc.d (package sysv-rc) and services-admin (package gnome- system-tools) is clearly misbehaving here. I vote for services-admin, because of its persistent habit of deleting and mixing up links - see bug #19034 for some historical evidence. ** Also affects: sysvinit (Ubuntu) Importance: Undecided Status: New ** Also affects: gnome-system-tools (Ubuntu) Importance: Undecided Status: New -- Upgrade of avahi-daemon restarts it although it's desactivated https://bugs.launchpad.net/bugs/218586 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs