Bug#746358: Boot hangs if fstab contains NFS entries
Michael Biebl
biebl at debian.org
Sun Jun 8 00:31:25 BST 2014
Am 08.06.2014 00:37, schrieb Jason Alavaliant:
> I've just tested the latest initscripts package (2.88dsf-53.1)
>
> Unfortunately the lines in adds to /etc/network/if-up.d/mountnfs ;
>
> ------------------
> # Skip the mountnfs hook when being triggered by the networking SysV init
> # script and instead use the systemd built-in mechanisms to mount remote
> # file systems.
> # This avoids a deadlock caused by the rpcbind SysV init script depending
> # on $network and the $network LSB facility being provided by the
> networking
> # SysV init script.
> if [ -d /run/systemd/system ]; then
> systemctl list-jobs | grep -q network.target && exit 0
> fi
> -----------------
>
> Do not fix the problem for me and my boot started sitting on configuring
> network interfaces again
> (I only waited 5minutes before giving up, so I'm unsure if it was just
> being very slow or if it would never have completed)
>
> I ended up swapping out the above lines for
> -------------------
> if [ -d /run/systemd/system ] ; then
> systemctl status network.target > /dev/null || exit 0
> fi
> -------------------
> the same as I'd been using after a previous suggestion in this bug,
> they continues to work and my system now finishes
> configuring network interfaces and boots successfully again.
Yeah, sorry.
Messed up the formatting pretty badly. 2.88dsf-53.2, which I just
uploaded, should work better
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140608/ac4baf74/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list