pitti, first, in the shutdown process of CUPS cups.path has to be deactivated first, so that the presence of the keepalive file of CUPS does not cause an immediate restart. After that, the other unit files of CUPS need to get deactivated to complete the shutdown.
Concerning cups-browsed (which can, while running, trigger CUPS via socket), The unit file /lib/systemd/system/cups-browsed.service contains After=cups.service avahi-daemon.service in its [Unit] section. Is this enough to make cups-browsed being shut down before the shutdown of CUPS is done? Or do I need to add another line. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1642966 Title: package cups-daemon 2.1.3-4 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1642966/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
