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

Bug 145056

Summary: getopt problem in /etc/init.d/autofs
Product: Gentoo Linux Reporter: Nanouck <nanouck>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nanouck
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nanouck 2006-08-25 02:25:51 UTC
I don't know where comes from this problem (getopt syntax or getopt internal) but I can describe it:

in /etc/init.d/autofs, there is the followin line
* getopt_eval="$(getopt -q -o -t:vdg --long timeout:,verbose,debug,ghost -- $getopt_input) "
* getopt_input="$daemonoptions $options"
* options=-nobrowse,intr (i did not look where "options" is set)
* daemonoptions="--timeout 30"
but it seems getopt_eval returns something like "--timeout 30 -t r" and force timeout options to "r" which is not an integer

* sys-apps/util-linux-2.12r-r3
* net-fs/autofs-4.1.3-r7

thanks
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-25 02:33:13 UTC

*** This bug has been marked as a duplicate of 91104 ***