Bug#791391: NFS mounts and other things fail if DHCP hasn't finished
Daniel Pocock
daniel at pocock.pro
Sat Jul 4 13:22:37 BST 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 04/07/15 13:58, Michael Biebl wrote:
> Am 04.07.2015 um 11:38 schrieb Daniel Pocock:
>> Package: systemd Version: 215-17+deb8u1 Severity: important
>>
>> This has been happening on a system that was upgraded from wheezy
>> to jessie
>>
>> Sometimes systemd starts the network and then tries to start
>> things that depend on the network (e.g. ntpdate, NFS client
>> mounts) before DHCP has obtained a lease.
>>
>> Sometimes the boot completely stops and asks for root login
>>
>> Sometimes it reaches the X login but if a user logs in, it throws
>> them out because their home is not mounted.
>
> Is home mounted via NFS?
>
/home is a local filesystem
/home/username is on NFS
>> journalctl also shows errors from other processes that depend on
>> the network.
>>
>>
>> Here is the content of /etc/network/interfaces - it was working
>> fine with wheezy:
>>
>> # The loopback network interface auto lo iface lo inet loopback
>>
>> # The primary network interface allow-hotplug eth0 iface eth0
>> inet dhcp #iface eth0 inet6 auto iface eth0 inet6 dhcp accept_ra
>> 1
>>
>> #allow-hotplug eth1 #iface eth1 inet dhcp
>
> In the end this is a bug in ifupdown. It should ensure to block
> until the network has been configured successfully.
>
> If you change "allow-hotplug" to "auto", does that help?
>
I've changed it, I'll see how it behaves on subsequent reboots. The
problem only occurs sporadically. Thanks for the fast feedback about
this.
Regards,
Daniel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJVl9AKAAoJEOm1uwJp1aqDAuIQAJFPCZF76jBirltU5c+u+us0
kqq1GUKww1gZTm6o2q1WsaGIeN7rB5Flw/AGuUdMSebFQAE5A5kbJidH3p03jAwt
/1wwCXM7lG5waMoKshSchYB2nhJr5LQoU3arLU57N+fpZlrCGvKDEuoOGhNG3KaF
AiCm7uehOQl2HSpj1oP+dYdHIzizMzgdPe1rcjTjz4B121sZBDNBOr0eadagbX1t
1U0SNvHR48rs1HKSWFOHQ3RybK3F7Ni+ilugAZFVnHhSZERvLGPRJVTQBgn2tNMk
F5RxAwsPLv2hns/+NuRkFfE5R3jX+tr9TYe9UR1RVb+vzNnY9aICo+eeqfvRR9SN
KdzSHNDT9vAJEkIpztdyc4yBT0NXGi6bcWAvcDrl6TLwZNcrdXuh11c83KJWzqiN
4bB/hwlBeEulq73AVy6pDnxr+bWtcQc0U3iSI6ToghjoNeeUUTrk42lUFxCGcnoj
xVbTYYA2nBxSxgveO1ymkEO7tST6yk/CThn+HSWWjzC466K1avFSeJr+ywfhYZQ+
kHJYgoAQegdM/qYQ7sok6e+ptP7ixSxci0wYvPwpKJkdTRaWk2+PZ+hCHGBWraK7
OL61eCpdBhjQHEv75SxFfKAJe/peS+kZyW+5GXw7GAsrj6Y9vqq9R12inQoscJ5G
KWsMfXrjpYMM6yPBta9G
=079a
-----END PGP SIGNATURE-----
More information about the Pkg-systemd-maintainers
mailing list