Package: mount
Version: 2.20.1

The WheezyBeta3 release no longer mounts nfs as it used to.

How to demonstrate problem:

Using virtual machine - host= debian squeeze 6.0.5 hypervisor=virtualBox version 4.1.22 r80657. guest= new install 2Gb RAM 8 GB disk space

Install new wheezy from debian-wheezy-DI-b3-amd64-netinst.iso. Stock standard options used.

Boot new machine.
mkdir /raid
Add line to /etc/fstab
192.168.1.110:/raid    /raid    nfs    defaults    0    0

(This same line used on 12 other machines both virtual and physical on same network)
mount -a

/raid is mounted OK

Reboot new Wheezy.
/raid is not mounted. (I would expect it would be).

Temporary Fix:
Add the following file to /etc/init.d

--------------------------- Beginning of patch file /etc/init.d/mountfix--------------------------------------
#!/bin/sh
### BEGIN INIT INFO
# Provides:          mountfix
# Required-Start:    hostname $local_fs $remote_fs
# Required-Stop:
# Should-Start:
# Default-Start:      2 3 4 5
# Default-Stop: 0 1 6
### END INIT INFO


do_start () {
    sleep 1
    /bin/mount -a
}


case "$1" in
  start|"")
    do_start
    ;;
  restart|reload|force-reload)
    echo "Error: argument '$1' not supported" >&2
    exit 3
    ;;
  stop)
    # No-op
    ;;
  *)
    echo "Usage: $) [start|stop]" >&2
    exit 3
    ;;
esac

---------------------------- End of patch file /etc/init.d/mountfix ---------------------------

update-rc.d mountfix defaults


Reboot new wheezy
/raid is mounted OK.

Interesting fact:
take out the sleep 1 statement and reboot
mount fails again.


Something in this setup is holding up some mount dependency which needs the extra second of delay. This is not intermittent. Completely repeatable. What is going on? This does not happen with the same version of mount -V (mount from util-linux 2.20.1 (with libblkid and selinux support)) which
is used with Ubuntu 12.04 on the exact same virtualBox machine.

Is this a problem for the util-linux maintainers or the Wheezy installers?


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to