← Back to team overview

touch-packages team mailing list archive

[Bug 1226766] Re: Mountall fails to mount NFS partitions on boot with GigE network managed by NM

 

I upgraded to Utopic and this problem got worse on that machine. I've
attached the new mountall.log.

The fstab line for the mount is now:
rt-ac66u:/tmp/mnt/yasimedia /mnt/readyshare nfs _netdev,hard,intr,exec,nodev,nosuid,async,nobootwait          0       0

It looks like it's not detecting the mount as a remote share. The log
says /mnt/readyshare is nowait. My workaround for this was sending a
SIGUSR1 to mountall in rc.local, but that's not working anymore. It does
not mount the NFS mount. A manual /mnt/readyshare works.


** Attachment added: "mountall.log"
   https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1226766/+attachment/4209192/+files/mountall.log

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1226766

Title:
  Mountall fails to mount NFS partitions on boot with GigE network
  managed by NM

Status in “network-manager” package in Ubuntu:
  Confirmed

Bug description:
  NFS partitions fail to mount on boot, and mountall freezes without mounting them. If I revert this change to the init script:
       . /etc/default/rcS || true
       [ -f /forcefsck ] && force_fsck="--force-fsck"
       [ "$FSCKFIX" = "yes" ] && fsck_fix="--fsck-fix"

  + # 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. It appears that the NFS mounts are occurring before DNS is up. mountall.log contains:
  mount.nfs: Failed to resolve server rt-ac66u: Name or service not known
  mountall: mount /mnt/readyshare [815] terminated with status 32
  Filesystem could not be mounted: /mnt/readyshare
  mountall: Disconnected from Plymouth

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: mountall 2.51
  Uname: Linux 3.11.1-customatom x86_64
  NonfreeKernelModules: nvidia
  .run.mount.utab:
   
  ApportVersion: 2.12.1-0ubuntu4
  Architecture: amd64
  Date: Tue Sep 17 14:49:53 2013
  ExecutablePath: /sbin/mountall
  InstallationDate: Installed on 2012-04-15 (520 days ago)
  InstallationMedia: Mythbuntu 12.04 "Precise Pangolin" - Beta amd64 (20120328)
  MarkForUpload: True
  ProcEnviron:
   TERM=linux
   PATH=(custom, no user)
   LANG=en_US.UTF-8
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.11.1-customatom root=UUID=708b3ba8-c42a-4adf-a195-c0fb8d8f8dd3 ro --verbose
  SourcePackage: mountall
  UpgradeStatus: Upgraded to saucy on 2013-06-28 (81 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1226766/+subscriptions