Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82334 - at boot time autofs may not get ldap maps, because it may be started before net.
Summary: at boot time autofs may not get ldap maps, because it may be started before net.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-17 03:44 UTC by David Siegel
Modified: 2005-03-14 15:07 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 David Siegel 2005-02-17 03:44:49 UTC
This is more a hypothetical problem, because most people using LDAP distributed automounter maps will also start portmap to mount remote volumes. But if neither ypbind, nor portmap is started at boot time, autofs is started before net and just doesn't load the LDAP maps.
In most situations autofs will start correctly, for example if the host has static NFS mounts or runs the LDAP server locally. In my opinion it would be better to add 'use net' to the depend() function of the autofs init script.
I don't know alot about autofs and local mounts but I don't think this will break anything.

Reproducible: Always
Steps to Reproduce:





bash-2.05b# emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.4,
glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov  4 2004, 18:11:47)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.14.90.0.8-r1
sys-devel/libtool:   1.5.2-r5
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.math.bme.hu
http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.mirror.sdv.fr "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X acpi aim alsa apm arts audiofile avi bash-completion bcmath
berkdb bitmap-fonts bmp bonobo bzlib calendar cdr crypt cscope ctype cups curl
curlwrappers dba dbm directfb divx4linux dvb dvd dvdr encode esd ethereal exif
f77 fam fftw font-server foomaticdb fortran ftp gb gd gdbm ggi gif ginac gnome
gnustep gphoto2 gpm gps gtk gtk2 gtkhtml guile icq imagemagick imap imlib ipv6
jabber jack java jikes joystick jpeg junit kde ldap lesstif libg++ libwww mad
mcal mikmod mime mmap mmx mng motif mozilla mpeg mysql ncurses nis nls oggvorbis
openal opengl oss pam pda pdflib perl php pic plotutils png portaudio posix
python qt quicktime readline sasl scanner sdl shared sharedmem slang sndfile
snmp soap sockets speex spell spl sse ssl svg svga sysvipc tcltk tcpd tetex tidy
tiff tokenizer truetype truetype-fonts type1-fonts usb xface xine xml xml2
xmlrpc xmms xosd xpm xsl xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-03-14 15:07:31 UTC
done in cvs.