Bug#960594: systemd: services (bind9, squid) are started before their filesystems had been mounted

Michael Biebl biebl at debian.org
Tue May 19 13:50:46 BST 2020


Am 19.05.20 um 14:35 schrieb Michael Biebl:
> Am 19.05.20 um 14:05 schrieb Wladimir Mutel:
>> Michael Biebl wrote:
>>
>>> Please attach the output of a journalctl -alb output with
>>> systemd.log_level=debug enabled
>>>
>>> https://freedesktop.org/wiki/Software/systemd/Debugging/#index1h1
>>> -> If You Can Get a Shell
>>
>>     Attached, please have a look
> 
> Thanks for the log.
> It appears that some hook script is triggering the start of bind9.
> I suspect some dhclient or /etc/network/if-up.d script.
> Those hook scripts use ignore-dependencies, breaking the specified
> dependencies/orderings
> 
> Checking the package contents of bind9, I see
> bind9: /etc/network/if-down.d/bind9
> bind9: /etc/network/if-up.d/bind9
> bind9: /etc/ppp/ip-down.d/bind9
> bind9: /etc/ppp/ip-up.d/bind9
> 

Can you share more details about your network configuration, like your
/etc/network/interfaces

Judging from the log, bind9 is started once udevd was up. So I suspect
you use allow-hotplug and your network is configured by

/lib/udev/rules.d/80-ifupdown.rules and /lib/udev/ifupdown-hotplug

I might help to change the type from allow-hotplug to type auto

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20200519/27807c6c/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list