Bug#405622: initscripts: /etc/init.d/mountnfs.sh fails to detect mounted files.

Pierre Ynard linkfanel at yahoo.fr
Wed Feb 20 09:21:35 GMT 2019


reassign 405622 util-linux
thanks

> /etc/init.d/mountnfs.sh waits until all entries from /etc/fstab have
> been succesfully mounted. However, if one of these is a file, rather
> than a directory, then it fails to detect that it is in fact mounted.
> Thus, there is an annoying 90 second delay on boot up, followed by an
> error message, even though there is nothing wrong.
>
> There needs to be a more robust way to detect successfull mounts.

/etc/init.d/mountnfs.sh relies on the `mountpoint` command to check
this. The mountpoint executable used to be provided by the initscript
package, however that was switched to the implementation from util-linux
in 2015 (#753779).

I don't know if util-linux's mountpoint does or still does exhibit the
reported problem, but I think it's best to reassign this.

Thanks,

-- 
Pierre Ynard




More information about the Debian-init-diversity mailing list