Bug#843063: systemd: does not show failed nfs mount when nfs server not available on booting the client

Michael Biebl biebl at debian.org
Mon Dec 19 09:08:31 GMT 2016


Control: forcemerge 835810 -1

On Thu, 3 Nov 2016 12:47:41 -0300 Felipe Sateler <fsateler at debian.org>
wrote:
> On 3 November 2016 at 12:31, Martin Steigerwald
> <martin.steigerwald at teamix.de> wrote:
> >
> > On preparing a reference setup for a new Linux training I work on I found
> > that if I start a client with an NFS mount with _netdev in /etc/fstab, but
> > without nofail, while the NFS server is not available, Systemd will try to
> > mount the export, yet after 90 seconds it not only continues booting, but
> > also does not *see* the failed mount.
> 
> I suspect the problem is [1] fixed by [2] (will be present in 232).
> 
> Hint is this:
> 
> > root at webserver01:~# systemctl status srv-web.mount
> > ● srv-web.mount - /srv/web
> >    Loaded: loaded (/etc/fstab)
> >    Active: active (mounted) (Result: timeout) since Do 2016-11-03 16:03:09 CET; 21min ago
> >     Where: /srv/web
> >      What: fileserver:web
> >      Docs: man:fstab(5)
> >            man:systemd-fstab-generator(8)
> >
> > Nov 03 16:01:39 webserver01 systemd[1]: Mounting /srv/web...
> > Nov 03 16:03:09 webserver01 systemd[1]: srv-web.mount mounting timed out. Stopping.
> > Nov 03 16:03:09 webserver01 systemd[1]: Mounted /srv/web.
> >
> 
> You report this from jessie, which of course is not going to get 232.
> Maybe backporting this fix is not too hard...
> 
> [1] https://github.com/systemd/systemd/issues/4275
> [2] https://github.com/systemd/systemd/pull/4337/commits/1f0958f640b87175cd547c1e69084cfe54a22e9d
> 

Looks like a duplicate of
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835810

Merging accordingly.


-- 
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: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20161219/b94f52cd/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list