Bug#485659: initscripts: Non-NFS network filesystems are not mounted on boot
Mark Hindley
mark at hindley.org.uk
Wed Feb 19 10:33:01 GMT 2025
Control: tags -1 moreinfo
Ben,
I know this has been sitting for a long time, for which, apologies.
On Tue, Jun 10, 2008 at 12:53:13PM -0500, Ben Smith wrote:
> Package: initscripts
> Version: 2.86.ds1-38
> Severity: important
>
>
> The /etc/init.d/mountnfs.sh init script does not call
> /etc/network/if-up.d/mountnfs by default if the
> ASYNCMOUNTNFS variable is not set in /etc/default/rcS.
I am not sure this analysis is quite correct. ASYNCMOUNTNFS just determines
whether /etc/init.d/mountnfs calls the if-up.d/mountnfs hook itself, of waits
for ifupdown to call it after configuring the interface.
# Using 'no !=' instead of 'yes =' to make sure async nfs
# mounting is the default even without a value in
# /etc/default/rcS
if [ no != "$ASYNCMOUNTNFS" ] ; then
do_wait_async_mount
else
FROMINITD=yes /etc/network/if-up.d/mountnfs
fi
Unfortunately there are several moving parts here. How are the interfaces
configured in /etc/network/interfaces? Are you running nfsroot?
If this is still an issue and you can answer those it might help. However, the
detail may now be lost in the mists of time, in which case I will probably close
this.
Thanks
Mark
More information about the Debian-init-diversity
mailing list