On Tue, Sep 17, 2013 at 02:47:47AM -0000, Joseph Yasi wrote:

> +    # Doesn't work so well if mountall is responsible for mounting /proc, 
> heh.
> +    if [ -e /proc/cmdline ]; then
> +        for arg in $(cat /proc/cmdline); do
> +            case $arg in
> +                -q|--quiet|-v|--verbose|--debug)
> +                    debug_arg=$arg
> +                    ;;
> +            esac
> +        done
> +    fi
>      # set $LANG so that messages appearing in plymouth are translated
>      if [ -r /etc/default/locale ]; then
>          . /etc/default/locale || true
>          export LANG LANGUAGE LC_MESSAGES LC_ALL
>      fi

> -    exec mountall --daemon $force_fsck $fsck_fix
> +    exec mountall --daemon $force_fsck $fsck_fix $debug_arg
>  end script

> it works. It seems strange that this would stop NFS from mounting on
> boot.

Yes, that is strange.  I see two possible explanations for this:

 - the script is causing mountall to fail to start; in that case, more
   mounts than just nfs mounts would fail to mount.
 - you are passing one of these options on the kernel commandline (--quiet,
   --verbose, --debug), and this is causing a timing change in mountall
   which is affecting the boot-time behavior.

What's /proc/cmdline on this system in the case where the nfs mounts
fail?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1217610

Title:
  NFS mounts don't mount on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rpcbind/+bug/1217610/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to