Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 121143

Summary: autofs 4.1.3-r4 init script
Product: Gentoo Linux Reporter: Paulo J. Matos <paulo>
Component: Current packagesAssignee: Stefaan De Roeck (RETIRED) <stefaan>
Status: RESOLVED NEEDINFO    
Severity: critical CC: net-fs, robbat2, rphillips
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Autofs script with echo uncommented

Description Paulo J. Matos 2006-02-01 01:34:20 UTC
autofs init script just sends the wrong flags to automount resulting in errors like this:
/home/usr/bin/automount: option -t requires a numeric argument, got,
intr, nosuid,rsize=8192,wsize=8192
 
If you uncomment the echo lines commented on the script (which is attached), you'll get something like this:
Wed Feb  1 09:08:49 WET 2006
STARTUPOPTIONS --timeout ,intr,nosuid,rsize=8192,wsize=8192
DIR /home
MAPTYPE yp
MAP auto.home
MAPOPTIONS -rw,soft,intr,nosuid,rsize=8192,wsize=8192
LOCALOPTIONS
OPTIONS -t 60 -rw,soft,intr,nosuid,rsize=8192,wsize=8192
GETOPT_INPUT --timeout 60 -t 60 -rw,soft,intr,nosuid,rsize=8192,wsize=8192

I don't thing the STARTUPOPTIONS flag is ok.

Should be checked. Think this is all. I'll attach script!

Emerge Info:
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.4, glibc-2.3.5-r2, 2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r1, 2.15.92.0.2-r10, 2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X Xaw3d aalib ada alsa apache2 apm arts artswrappersuid audiofile avi bash-completion berkdb bitmap-fonts bonobo boundschecking bzip2 cdrom clearcase crypt cscope cups curl doc eds emacs emacs-w3 emboss encode escreen esd exif expat fam ffmpeg flac foomaticdb fortran ftp gd gdbm geoip gif gimp gimpprint glut gmp gnome gnome-print gnomecanvas gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile haskell hbci idn imagemagick imlib imlib2 innodb java javascript jikes jpeg jpeg2k junit kde kdeenablefinal koffice-plugin latex lcms leim lesstif libg++ libgda libwww mad mhash mikmod mmx mng motif mozilla mp3 mpeg multislot mysql ncurses nis nls nptl offensive ofx ogg oggvorbis openal opengl oss pam pascal pcre pdflib perforce perl php plotutils png postgres ppds python qt quicktime readline recode ruby samba sdl spell sql sqlite sqlite3 sse ssl subtitles subversion svg svga svgz tcltk tcpd tetex tidy tiff truetype truetype-fonts type1 type1-fonts udev usb vorbis win32codecs wmf xine xml xml2 xmms xpm xprint xrandr xscreensaver xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Paulo J. Matos 2006-02-01 01:35:59 UTC
Created attachment 78628 [details]
Autofs script with echo uncommented
Comment 2 Mark Keisler 2008-01-28 18:51:54 UTC
What does your /etc/conf.d/autofs look like?
If you update to the latest, net-fs/autofs-4.1.3-r7, do you experience the same bug?
Comment 3 Stefaan De Roeck (RETIRED) gentoo-dev 2008-02-03 11:39:51 UTC
New maintainer, net-fs/autofs-5.0.3-r1 is now in the tree.  
Comment 4 Stefaan De Roeck (RETIRED) gentoo-dev 2008-02-03 12:22:04 UTC
please provide feedback on comment #2 (or test with a yet newer version)