Bug#792030: systemd does not reliably mount nfs shares

Athanasius debian at miggy.org
Thu Mar 16 03:07:53 GMT 2017


On Wed, Mar 15, 2017 at 10:15:54PM +0100, Michael Biebl wrote:
> Am 15.03.2017 um 16:00 schrieb Athanasius:
> >   The other issue is that my two NFS mounts from my server (still on
> > jessie) were failing at boot-time.  After I fixed the /proc/bus/usb
> > issue (by commenting that line out) the next boot had my NFS mounts work
> > OK.  But today they've failed again.
> > 
> > The two lines in /etc/fstab are:
> > 
> > 192.168.1.1:/home/users                 /home/users         nfs     defaults,soft,intr,timeo=50,retrans=6,fg,nfsvers=3,nosuid,nodev,nofail 0 0
> > 192.168.1.1:/mnt/tuesday/data0                 /mnt/tuesday/data0         nfs     defaults,soft,intr,timeo=50,retrans=6,fg,nfsvers=3,nosuid,nodev,nofail 0 0
> > 
> > and these always worked 100% on jessie by the time I'd typed in my
> > password.  In stretch, due to /home/users not being properly mounted I
> > could not complete a login.
> > 
> 
> > # The primary network interface
> > allow-hotplug eth0
> 
> Use "auto eth0", that should work better in a case like yours.
> 
> NFS mounts rely on network-online.target being hooked up properly. For
> allow-hotplug interfaces this is not guaranteed.

  I'll give that a go.  The reason for me using 'allow-hotplug' is now
lost in the mists of time, as it was already this way when I first put
/etc on that machine under git control in 2011.
  Of course the last two boots with 'allow-hotplug' also worked, so I'll
report back *if* I have the issue again with it changed to 'auto'.

-- 
- Athanasius = Athanasius(at)miggy.org / http://www.miggy.org/
                  Finger athan(at)fysh.org for PGP key
	   "And it's me who is my enemy. Me who beats me up.
Me who makes the monsters. Me who strips my confidence." Paula Cole - ME
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20170316/acc95aeb/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list