On Sun, 19 Oct 2014 at 13:15:03 +0200, Julian Andres Klode wrote: > When using dnsmasq in a systemd-based system, reboot gets delayed a lot. The > log indicates that systemd starts /etc/init.d/dnsmasq systemd-stop-resolvconf > as second 28 and dnsmasq only exits at second 38, thus causing a considerable > slow-down of the machine. During that time, the machine appears to hang.
I couldn't reproduce this while testing the patch I sent to https://bugs.debian.org/776530 (either with or without dbus) so I suspect that either that patch fixes the slow shutdown, or something has changed in systemd since you reported this bug. Do you have dbus installed? > Your systemd unit should not use the init script either, BTW. Perhaps not, but during freeze is not the time to change that. If it is desirable for the systemd unit to support the various options that can appear in /etc/default/dnsmasq (particularly the deprecated ones like MAILHOSTNAME) then I don't think that can be done without a shell script wrapper of some sort, due to the options' syntax; perhaps for Debian 9 it would be cleaner to have a separate shell script wrapper for the systemd side, but it would have to duplicate parts of the init script. S -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

