Hi Am 04.06.2016 um 23:23 schrieb Michael Biebl: > Control: tags -1 - patch > > Am 04.06.2016 um 22:50 schrieb Michael Biebl: >> I think we should have a working solution now, so I'm tentatively >> marking this bug with patch-available. > > Hm, looks like there is still a deadlock situation with the service > files I attached earlier. Therefor removing the patch tag again for now. > Will investigate.
Ok, I guess I have the missing ingredient now. We need to make the unbound-resolvconf.service unit use Type=simple not oneshot. oneshot blocks until the started process has completed, with Type=simple we don't block. Also (and this is stolen from bind9), we probably want [Install] WantedBy=unbound.service This makes sure when unbound.service is started, the resolvconf service is as well. Using PartOf=unbound.service only takes care of the stop and restart case. With that all said, attached is an updated unbound-resolvconf.service, which should work properly. Regards, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
[Unit] Description=Unbound DNS server via resolvconf After=unbound.service PartOf=unbound.service ConditionFileIsExcutable=/sbin/resolvconf [Service] ExecStart=/usr/lib/unbound/package-helper resolvconf_start ExecStop=/usr/lib/unbound/package-helper resolvconf_stop [Install] WantedBy=unbound.service
signature.asc
Description: OpenPGP digital signature