Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2011 21:19:06 -0500
From:      grarpamp <grarpamp@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: NFS - DNS fail stops boot in mountlate
Message-ID:  <AANLkTin2L=sfBSo3V3sA_7FfDBpnadc8PYnaSMwPJrcG@mail.gmail.com>
In-Reply-To: <4D2663AE.2080805@FreeBSD.org>
References:  <AANLkTimeRfTO4RT0M5%2Bx28OGM0cCXTMY=VADR1ZEdKeW@mail.gmail.com> <4D2663AE.2080805@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
So what was unclear?

mount_nfs emits a nonzero exit status upon failing to look
up an FQDN causing mountlate to trigger a dump to shell
on boot during rc processing. That's a *showstopper*. The
right thing to do is to hack mount_nfs to punt to background
mounting in this case with an appropriate exit status.

Personally I'd distinguish mount_nfs exit codes between:
0 - mounted
1 - backgrounded, for any reason
2 - none of the above
and adjust the rc's to deal with it accordingly.

Words are subject to interpretation and take time. Though
perhaps masked by brevity, I believe all the above elements
were in the prior concise post. Thanks everybody :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTin2L=sfBSo3V3sA_7FfDBpnadc8PYnaSMwPJrcG>