Activity log for bug #423289

Date Who What changed Old value New value Message
2009-09-02 16:30:38 Andrew bug added bug
2009-09-02 16:37:21 Andrew description Binary package hint: autofs Regaring: autofs version 4.1.4+debian-2.1ubuntu2 in Jaunty amd64 Autofs will delete the mount directories upon stop, but will not re-create them on startup. Example: /etc/auto.master: /net /etc/auto.net /etc/auto.net: #!/bin/bash # $Id: auto.net,v 1.8 2005/04/05 13:02:09 raven Exp $ # This file must be executable to work! chmod 755! # Look at what a host is exporting to determine what we can mount. # This is very simple, but it appears to work surprisingly well key="$1" # add "nosymlink" here if you want to suppress symlinking local filesystems # add "nonstrict" to make it OK for some filesystems to not mount opts="-fstype=nfs,hard,intr,nodev,nosuid,nonstrict,async" # Showmount comes in a number of names and varieties. "showmount" is # typically an older version which accepts the '--no-headers' flag # but ignores it. "kshowmount" is the newer version installed with knfsd, # which both accepts and acts on the '--no-headers' flag. #SHOWMOUNT="kshowmount --no-headers -e $key" #SHOWMOUNT="showmount -e $key | tail -n +2" for P in /bin /sbin /usr/bin /usr/sbin do for M in showmount kshowmount do if [ -x $P/$M ] then SMNT=$P/$M break fi done done [ -x "$SMNT" ] || exit 1 # Newer distributions get this right SHOWMOUNT="$SMNT --no-headers -e $key" $SHOWMOUNT | LC_ALL=C cut -d' ' -f1 | LC_ALL=C sort -u | \ awk -v key="$key" -v opts="$opts" -- ' BEGIN { ORS=""; first=1 } { if (first) { print opts; first=0 }; print " \\\n\t" $1, key ":" $1 } END { if (!first) print "\n"; else exit 1 } ' | sed 's/#/\\#/g' Run: $ sudo mkdir /net $ sudo /etc/init.d/autofs start $ sudo /etc/init.d/autofs stop $ ls -l /net ls: cannot access /net: No such file or directory May be the same bug as reported against redhat here: https://bugzilla.redhat.com/show_bug.cgi?id=212148 Binary package hint: autofs Regaring: autofs version 4.1.4+debian-2.1ubuntu2 in Jaunty amd64 Autofs will delete the mount directories upon stop, but will not re-create them on startup. Example: /etc/auto.master: /net /etc/auto.net /usr/local/remote /etc/auto_remote tcp,retrans=5 --timeout=0 --ghost /etc/auto_remote: packages -ro,intr,timeo=600,actimeo=1200,rsize=32768,wsize=32768 \ computer:/vol/dir/packages common -ro,intr,timeo=600,actimeo=1200,rsize=32768,wsize=32768 \ computer:/vol/dir2/packages image -ro,intr,timeo=600,actimeo=1200,rsize=32768,wsize=32768 \ computer:/vol/dir/image Run: $ sudo mkdir /net $ sudo /etc/init.d/autofs start $ sudo /etc/init.d/autofs stop $ ls -l /net ls: cannot access /net: No such file or directory Now, if I start autofs again, it creates /net sometimes, but not /usr/local/remote for some reason. May be the same bug as reported against redhat here: https://bugzilla.redhat.com/show_bug.cgi?id=212148
2009-09-02 16:57:11 Andrew attachment added Work-around script to run before starting autofs http://launchpadlibrarian.net/31250606/autofs-mkdirs
2009-10-13 17:41:22 Chuck Short autofs (Ubuntu): status New Incomplete
2009-10-13 17:41:34 Chuck Short autofs (Ubuntu): importance Undecided Low
2009-11-25 18:59:35 Chuck Short autofs (Ubuntu): status Incomplete Confirmed