Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256290 - net-fs/autofs-4.1.3-r7 automounter doesn't start with ldap support
Summary: net-fs/autofs-4.1.3-r7 automounter doesn't start with ldap support
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-25 09:31 UTC by Matthias Schwartz
Modified: 2009-01-30 08:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Schwartz 2009-01-25 09:31:22 UTC
When accessing the auto.home map over the LDAP server the autofs system doesn't start (/etc/init.d/autofs start fails).



Reproducible: Always

Steps to Reproduce:
1. Entry in /etc/nsswitch.conf: autofs ldap
2. USE=ldap while emerging autofs
3. /etc/init.d/autofs start

Actual Results:  
Output of '/etc/init.d/autofs stats':
/usr/sbin/automount --timeout 60 --pid-file /var/run/autofs.home.pid /home yp ldap ldapserver:automountMapName=auto.home,ou=automount,dc=innovina,dc=com


Expected Results:  
Correct output of '/etc/init.d/autofs stats' should be:
/usr/sbin/automount --timeout 60 --pid-file /var/run/autofs.home.pid /home ldap ldapserver:automountMapName=auto.home,ou=automount,dc=innovina,dc=com


When adding the following lines to /etc/init.d/autofs it works:

  elif [ "$map" = "multi" ] ; then
          maptype="$map"
          map=
+ elif [ "$map" = "ldap" ] ; then
+         maptype="$map"
+         map=
  else
          maptype=yp
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-01-28 20:07:55 UTC
Please post your `emerge --info' too.
Comment 2 Matthias Schwartz 2009-01-30 08:41:13 UTC
Portage 2.1.6.4 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.25-hardened-r11 i686)
=================================================================
System uname: Linux-2.6.25-hardened-r11-i686-Intel-R-_XEON-TM-_CPU_2.00GHz-with-glibc2.3.2
Timestamp of tree: Sat, 17 Jan 2009 21:45:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/fax /var/bind /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS=""
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/"
USE="acl acpi apache2 berkdb bzip2 chroot cracklib crypt cups fbcon gif gmp hardened hardenedphp icc imagemagick imap ipv6 jpeg lesstif lm_sensors midi mmx nls nptl nptlonly pam pdf perl php pic png posix qt readline samba sasl sharedmem snmp sockets sse ssl sysvipc tcpd tiff unicode urandom vhosts x86 xml xorg xsl zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt intel      mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage      siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware         voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY