I've recently updated to autofs-5.0.7 and after that auto-mounting failed. Here is en except from the logs, that correspond to the actions taken by automount after I issued the "ls /softs" command. autofs was launched with "debug" verbosity. Mar 29 11:43:15 auric automount[3401]: handle_packet: type = 5 Mar 29 11:43:15 auric automount[3401]: handle_packet_missing_direct: token 13, name /softs, request pid 3422 Mar 29 11:43:15 auric automount[3401]: attempting to mount entry /softs Mar 29 11:43:15 auric automount[3401]: lookup_name_file_source_instance: file map not found Mar 29 11:43:15 auric automount[3401]: lookup_mount: lookup(ldap): looking up /softs Mar 29 11:43:15 auric automount[3401]: lookup_mount: lookup(ldap): /softs -> -rw,bg,vers=3,tcp,timeo=600,rsize=32768,wsize=32768,hard,intr,nosuid soft-serv:/softs/$OSNAME Mar 29 11:43:15 auric automount[3401]: parse_mount: parse(sun): expanded entry: -rw,bg,vers=3,tcp,timeo=600,rsize=32768,wsize=32768,hard,intr,nosuid soft-serv:/softs/Linux Mar 29 11:43:15 auric automount[3401]: parse_mount: parse(sun): gathered options: rw,bg,vers=3,tcp,timeo=600,rsize=32768,wsize=32768,hard,intr,nosuid Mar 29 11:43:15 auric automount[3401]: parse_mount: parse(sun): dequote("soft-serv:/softs/Linux") -> soft-serv:/softs/Linux Mar 29 11:43:15 auric automount[3401]: parse_mount: parse(sun): core of entry: options=rw,bg,vers=3,tcp,timeo=600,rsize=32768,wsize=32768,hard,intr,nosuid, loc=soft-serv:/softs/Linux Mar 29 11:43:15 auric automount[3401]: sun_mount: parse(sun): mounting root /softs, mountpoint /softs, what soft-serv:/softs/Linux, fstype nfs, options rw,vers=3,tcp,timeo=600,rsize=32768,wsize=32768,hard,intr,nosuid Mar 29 11:43:15 auric automount[3401]: mount_mount: mount(nfs): root=/softs name=/softs what=soft-serv:/softs/Linux, fstype=nfs, options=rw,vers=3,tcp,timeo=600,rsize=32768,wsize=32768,hard,intr,nosuid Mar 29 11:43:15 auric automount[3401]: mount_mount: mount(nfs): nfs options="rw,vers=3,tcp,timeo=600,rsize=32768,wsize=32768,hard,intr,nosuid", nobind=0, nosymlink=0, ro=0 Mar 29 11:43:15 auric automount[3401]: mount(nfs): no hosts available After a downgrade to autofs-5.0.6-r5: Mar 29 11:56:28 auric automount[8134]: handle_packet: type = 5 Mar 29 11:56:28 auric automount[8134]: handle_packet_missing_direct: token 19, name /softs, request pid 8158 Mar 29 11:56:28 auric automount[8134]: attempting to mount entry /softs Mar 29 11:56:28 auric automount[8134]: lookup_name_file_source_instance: file map not found Mar 29 11:56:28 auric automount[8134]: lookup_mount: lookup(ldap): looking up /softs Mar 29 11:56:28 auric automount[8134]: lookup_mount: lookup(ldap): /softs -> -rw,bg,vers=3,tcp,timeo=600,rsize=32768,wsize=32768,hard,intr,nosuid soft-serv:/softs/$OSNAME Mar 29 11:56:28 auric automount[8134]: parse_mount: parse(sun): expanded entry: -rw,bg,vers=3,tcp,timeo=600,rsize=32768,wsize=32768,hard,intr,nosuid soft-serv:/softs/Linux Mar 29 11:56:28 auric automount[8134]: parse_mount: parse(sun): gathered options: rw,bg,vers=3,tcp,timeo=600,rsize=32768,wsize=32768,hard,intr,nosuid Mar 29 11:56:28 auric automount[8134]: parse_mount: parse(sun): dequote("soft-serv:/softs/Linux") -> soft-serv:/softs/Linux Mar 29 11:56:28 auric automount[8134]: parse_mount: parse(sun): core of entry: options=rw,bg,vers=3,tcp,timeo=600,rsize=32768,wsize=32768,hard,intr,nosuid, loc=soft-serv:/softs/Linux Mar 29 11:56:28 auric automount[8134]: sun_mount: parse(sun): mounting root /softs, mountpoint /softs, what soft-serv:/softs/Linux, fstype nfs, options rw,vers=3,tcp,timeo=600,rsize=32768,wsize=32768,hard,intr,nosuid Mar 29 11:56:28 auric automount[8134]: mount_mount: mount(nfs): root=/softs name=/softs what=soft-serv:/softs/Linux, fstype=nfs, options=rw,vers=3,tcp,timeo=600,rsize=32768,wsize=32768,hard,intr,nosuid Mar 29 11:56:28 auric automount[8134]: mount_mount: mount(nfs): nfs options="rw,vers=3,tcp,timeo=600,rsize=32768,wsize=32768,hard,intr,nosuid", nobind=0, nosymlink=0, ro=0 Mar 29 11:56:28 auric automount[8134]: mount_mount: mount(nfs): calling mkdir_path /softs Mar 29 11:56:28 auric automount[8134]: mount_mount: mount(nfs): calling mount -t nfs -s -o rw,vers=3,tcp,timeo=600,rsize=32768,wsize=32768,hard,intr,nosuid soft-serv:/softs/Linux /softs Mar 29 11:56:28 auric automount[8134]: mount_mount: mount(nfs): mounted soft-serv:/softs/Linux on /softs Mar 29 11:56:28 auric automount[8134]: dev_ioctl_send_ready: token = 19 Mar 29 11:56:28 auric automount[8134]: mounted /softs the config files were the same. emerge --info autofs Portage 2.2.0_alpha170 (default/linux/amd64/13.0/developer, gcc-4.7.2, glibc-2.16.0, 3.8.4-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.8.4-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_W3520_@_2.67GHz-with-gentoo-2.2 KiB Mem: 8162660 total, 4714624 free KiB Swap: 2097148 total, 2097148 free Timestamp of tree: Fri, 29 Mar 2013 10:45:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 app-shells/bash: 4.2_p45 dev-java/java-config: 2.1.12-r1 dev-lang/python: 2.7.3-r3, 3.2.3-r2 dev-util/cmake: 2.8.10.2-r1::local dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.9.6-r3, 1.11.6, 1.12.6, 1.13.1 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.4.7, 4.6.3, 4.7.2-r1, 4.8.0_alpha20121104::toolchain sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.8 (virtual/os-headers) sys-libs/glibc: 2.16.0 Repositories: gentoo science sage-on-gentoo toolchain local ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3 Intel-SDP skype-4.0.0.7-copyright AdobeFlash-11.x" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n " FCFLAGS="-march=native -O2 -pipe" FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr" FFLAGS="-march=native -O2 -pipe" GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles ftp://mirror.ovh.net/gentoo-distfiles" LANG="en_US.utf-8" LC_ALL="en_US.utf-8" LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=gnu" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/scratch/portage_hdd" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/sci /usr/local/overlays/sage-on-gentoo /usr/local/overlays/toolchain /usr/local/overlays/local" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac aacplus abook acl acpi alsa amd64 apron bash-completion berkdb bitmap bluetooth boost bzip2 cairo canberra caps cdda cdr cli clucene colord consolekit coq cpudetection cracklib crypt cuda cups curl custom-cflags custom-optimization cxx dane dbus dirac djvu dot double-precision dri dts dvd dvdr ebook ecls eigen emboss encode epspdf excel exif expat extensions faac fam ffmpeg fftw firefox flac fontconfig fontforge fortran fortran95 frei0r g3dvl gappa gbm gd-external gdbm gif gles gles1 gles2 gmp gnuplot gold gpg gpm graphics graphite graphviz gssapi gtk gtk3 hyperestraier iconv icu idn imap inotify int64 iproute2 ipv6 ipython ithreads javascript jemalloc jpeg jpeg2k json kde kpathsea lapack latex lcms ldap ldap-sasl ldns libkms libnotify logrotate lpsol lua lzma mad man mathml matplotlib mbox metis minizip mktemp mmx mmxext mng modules mozilla mp3 mp4 mpc mpeg mudflap multilib muparser music mutt ncurses nettle nfs nis nls nntp notebook nptl nsplugin ntl ntlm numpy ocaml octave ogg opencl opengl openmp openntpd openssl openvg optimization pam pango passwdqc pcre pcre16 pdf pdfannotextractor perl pff pgf pgo phonon plotutils png policykit pop postproc postscript ppds prison pstricks publishers pyglet python qd qhull qt3support qt4 readline reencrypt rfc3779 rtmp ruby sage sasl schroedinger science sdl se3 semantic-desktop session shared-dricore sidebar simage slp smime smp smtp snmp sparse speex spell sqlite sqlite3 sse sse2 sse3 sse41 sse42 sse4_1 ssl ssse3 startup-notification subversion svg syslog system-jpeg system-sqlite tcpd theora thin-splines threads tiff tokyocabinet tools truetype type3 udev udisks unicode upower usb utils uuid vdpau vim vim-syntax vorbis vpx webkit winbind x264 xattr xcb xetex xft xml xv xvfb xvid xvmc zeitgeist zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 pypy2_0" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= net-fs/autofs-5.0.6-r5 was built with the following: USE="ldap (multilib) sasl -hesiod" ABI_X86="64"
Yes. It is.
Broke here too. Downgrade to 5.0.6-r5 temporarily resolved it.
If any is willing to track down the issue by bisecting to find the commit that introduced the issue, here is what you have to do git clone git://git.kernel.org/pub/scm/linux/storage/autofs/autofs.git cd autofs git bisect start git bisect bad ec3bdc1489ba28230189cea7584a85889b21510d git bisect good 67404f4928fec6dd18f3e6d0b8e4e3f8286bdb20 cd .. cp autofs autofs.build configure and build in autofs.build If the version is broken, go to autofs and enter git bisect bad Otherwise git bisect good and iterate until you found the commit. I will do this as soon as I find time.
Had same problem here. Did some search and tracking with strace shows that no mount is called. So wherever automount gets the "mount(nfs): no hosts available" message, it is not a mount call. In autofs-5.0.7 debug output there are no "calling..." lines. autofs-5.0.6-r5 is working fine.
Any news? I upgraded today to autofs-5.0.7 and hit the same issue.
Downgrading to autofs-5.0.6-r5 fails due to Bug 453778.
Using Comment 34 of Bug 453778 helps to downgrade autofs.
One week later I still have the same issues. NFS shares are not mounted by automounter.
can you reproduce this bug with lastest version, 5.0.7-r1? it works fine here for me. here is log: Jun 6 23:32:59 ofree automount[19935]: mount_mount: mount(nfs): root=/mnt/mis c name=nfs what=192.168.90.72:/mnt/windows, fstype=nfs, options=ro,soft,intr,n fsvers=3
fixed, can't reproduce in lastest version (5.0.7-r2). but if you still have problem, please re-open again. thanks