Bug#612519: initscripts: mountnfs ignore ASYNCMOUNTNFS=no for hotplug interfaces
Mark Hindley
mark at hindley.org.uk
Thu Feb 13 21:26:09 GMT 2025
Control: tags -1 patch
George,
Firstly, apologies for the extreme delay with this.
On Wed, Feb 09, 2011 at 01:13:58AM +0300, George Shuklin wrote:
> I see two solution for this problem:
>
> 1) check every interface, market as 'hotplug' to be online and wait until they
> complete mounting.
My understanding is that this is not possible. Ifupdown allow-hotplug is,
by-design, asynchronous and triggered by udev. See interfaces(5).
> 2) Keep current situation, anounce it as 'feature' and add note to rcS manual
> page about mandatory 'auto' declation for interfaces
I agree. Patch below.
Mark
commit cf58f0d48071c010c870949daf51493cdd2b860d
Author: Mark Hindley <mark at hindley.org.uk>
Date: Thu Feb 13 21:17:15 2025 +0000
rcS(5): document requirement for auto rather than allow-hotplug interfaces with ASYNCMOUNTNFS=no.
Closes: #612519
diff --git a/debian/src/initscripts/man/rcS.5 b/debian/src/initscripts/man/rcS.5
index 8ac3cc81..b9d384e1 100644
--- a/debian/src/initscripts/man/rcS.5
+++ b/debian/src/initscripts/man/rcS.5
@@ -85,6 +85,11 @@ when the network interfaces are mounted, and instead do it only once
when the machine boots. The default is 'yes'. It is useful to
disable this on machines where the root file system is NFS, until ifup
from ifupdown works properly in such setup.
+.IP
+Note that, in this case, the network interfaces to access the NFS host must be
+marked 'auto'
+.RB ( NOT " 'allow\-hotplug')"
+in \fB/etc/network/interfaces\fP.
.SH NOTE
The \fBEDITMOTD\fP, \fBRAMRUN\fP, \fBCONCURRENCY\fP and \fBUTC\fP variables are
More information about the Debian-init-diversity
mailing list