Using autofs-5.0.4-r3 /var/log/messages contains: May 8 09:04:46 erding automount[6903]: open_parse:168: lookup(ldap): cannot open parse module dc=de (/usr/lib64/autofs/parse_dc=de.so: cannot open shared object file: No such file or directory) May 8 09:04:46 erding automount[6903]: lookup_init:1429: lookup(ldap): failed to open parse context May 8 09:04:46 erding automount[6903]: mount_autofs_indirect: failed to read map for /mounts/home May 8 09:04:46 erding automount[6903]: handle_mounts: mount of /mounts/home failed! May 8 09:04:46 erding automount[6903]: mount_mount: mount(autofs): failed to create submount for /mounts/home With autofs-5.0.4-r2 things work like a charm and my home gets mounted... Reproducible: Always Steps to Reproduce: Portage 2.2_rc33 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r3 x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.0.0 Timestamp of tree: Fri, 08 May 2009 05:30:01 +0000 app-shells/bash: 4.0_p17-r1 dev-java/java-config: 2.1.7 dev-lang/python: 2.5.4-r2, 2.6.2 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=core2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d/etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=core2" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/energizedwork" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="16bit 3dnow 3dnowext X a52 aac aalib abiword accessibility acl acpi administrator aim alsa amazon amd64 apm avahi bash-completion berkdb big-tables bluetoothbranding browserplugin bzip2 c++ cairo cdaudio cdr cdrom cjk cli connectionstatus consolekit cracklib crypt cups cxx dbus dhcp directfb divx djvu dri dts dvd dvdrdvdread dvi eds embedded emboss encode esd evo exif fam fbcon fbcondecor fbdev fbsplash firefox firefox3 flac fontconfig foomaticdb fortran gconf gdbm gif glib glitz glut gmedia gmp gnome gnutls gphoto2 gpm graphviz grub gstreamer gtk hal hddtemp iconv icq idn imap inotify ipv6 isdnlog java java5 java6 javascript jpeg jpeg2k kde kdehiddenvisibility kdeprefix kipi ldap libnotify lm_sensors logitech-mouse mad matroska max-idx-128 mdnsresponder-compat midi mikmod mmx mmxext mng mozdevelop mozilla mp3 mp4 mpeg mudflap multilib musepack musicbrainz mysql nat ncurses nforce2 nls nptl nptlonly nsplugin nspr ntfs nvidia ogg openal opengl openmp pam parport pch pcre pdf perl phonon png ppds pppd python qt3 qt3support qt4 query-browser quicktime readline realmedia reflection resolvconf sdl sensord session spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg svgz sysfs t1lib tcpd theora threads tiff truetype type1 unicode urandom usb utempter vim-syntax vim-with-x vorbis webkit wmp x264 xattr xcb xcomposite xml xorg xulrunner xv xvid xvmc yahoo zeroconf zip zlib" 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="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 dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logiomem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" NETBEANS_MODULES="apisupport cnd gsf groovy harnesside identity j2ee java nb profiler soa visualweb webcommon websvccommon xml dlight enterprise" USERLAND="GNU" VIDEO_CARDS="nv vesa vga fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Finally I found some time to examine this issue. I tracked the issue down to ${P}-easy-alloca-replacements.patch I'm not yet sure what is wrong about it, but that's at least a first hint...
(I sequentially removed all the patches beginning from the last, one after another. Then I rebuild and restarted the service and checked if my user had a $HOME after logon or not. So it took about 2 dozen iterations to get back a working automounter deamon...) As those patches are comming from upstream, I'd presume that would be the correct place to report this issue. Any hint where to report them exactly?
(In reply to comment #2) > As those patches are comming from upstream, I'd presume that would be the > correct place to report this issue. Any hint where to report them exactly? I think your best shot would be: http://linux.kernel.org/pipermail/autofs/ I have updated to autofs-5.0.4-r4, including the latest patches from upstream. I would appreciate you reporting back here when you have more information. Many thanks
Unfortunately the issue is still present in autofs-5.0.4-r4. I wrote a message on the autofs list you guided me to and will report back as soon as I have further informations.
Seems like it's a known issue, fixed by autofs-5.0.4-fix-map-type-info-parse-error.patch. Here is a diff that will update autofs to the latest patchset (and also fix the wrong URL in the comment). --- autofs-5.0.4-r4.ebuild 2009-06-11 20:21:09.000000000 +0200 +++ autofs-5.0.4-r5.ebuild 2009-06-14 10:05:51.000000000 +0200 @@ -8,7 +8,7 @@ DESCRIPTION="Kernel based automounter" HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html" SRC_URI_BASE="mirror://kernel/linux/daemons/${PN}/v5" -# This list is taken directly from http://kernel.org/pub/linux/daemons/autofs/v5/patch_order-5.0.3 +# This list is taken directly from http://kernel.org/pub/linux/daemons/autofs/v5/patch_order-5.0.4 # Please do not modify the order PATCH_LIST=" ${P}-fix-dumb-libxml2-check.patch @@ -61,7 +61,15 @@ ${P}-dont-fail-on-ipv6-address-adding-host.patch ${P}-always-read-file-maps-multi-map-fix.patch ${P}-always-read-file-maps-key-lookup-fixes.patch - ${P}-use-srv-query-for-domain-dn.patch" + ${P}-use-srv-query-for-domain-dn.patch + ${P}-fix-incorrect-dclist-free.patch + ${P}-srv-lookup-handle-endian.patch + ${P}-library-reload-fix-update-fix-2.patch + ${P}-fix-notify-mount-message-path.patch + ${P}-remount-we-created-mount-point-fix.patch + ${P}-fix-double-free-in-do_sasl_bind.patch + ${P}-manual-umount-recovery-fixes.patch + ${P}-fix-map-type-info-parse-error.patch" SRC_URI="${SRC_URI_BASE}/${P}.tar.bz2" for i in ${PATCH_LIST} ; do SRC_URI="${SRC_URI} ${SRC_URI_BASE}/${i}"
net-fs/autofs-5.0.4-r4 has been committed to the three, and includes the patch mentioned in comment #5. could you please report on your experiences with this ebuild? thanks
I can confirm that the freshly committed autofs-5.0.4-r5 ebuild fixes the issue for me. Thanks alot!