Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176258 - /etc/init.d/autofs fails to launch automount with ldap mounts
Summary: /etc/init.d/autofs fails to launch automount with ldap mounts
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefaan De Roeck (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-27 15:45 UTC by Simon Murray
Modified: 2008-03-25 12:04 UTC (History)
2 users (show)

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 Simon Murray 2007-04-27 15:45:13 UTC
Incorrect (?) parameters passed to automount from the autofs init script for ldap mounts

Reproducible: Always

Steps to Reproduce:
altered /etc/nsswitch.conf so that:
  automount: files ldap

"/etc/init.d/autofs start" fails to work for any auto.master ldap mounts



strace reveals automount is being invoked in /etc/init.d/autofs with
$maptype=yp
$map=ldap

adding a new case into the big if statement in "function getmounts()" such that we avoid the default...

...
elif [ "$map" = "ldap" ]; then
  maptype=$map
  map=
else
...

works like a charm
Comment 1 solar (RETIRED) gentoo-dev 2007-04-27 20:04:29 UTC
Roy, if this is not your bug please reassign it to the maintainer you think it should be assigned to. 
Comment 2 Roy Marples (RETIRED) gentoo-dev 2007-04-30 09:26:14 UTC
metadata says it's Robins :)
Comment 3 Stefaan De Roeck (RETIRED) gentoo-dev 2008-02-03 11:40:11 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-05 12:16:31 UTC
I suppose this is probably fixed in autofs-5 (because the init script has been replaced).  Could you please test that and provide feedback?  Thanks
Comment 5 Stefaan De Roeck (RETIRED) gentoo-dev 2008-03-25 12:04:09 UTC
No feedback in well over a month, closing bug.