Camm Maguire wrote:
>
> Greetings!
>
> Scott McDermott <[EMAIL PROTECTED]> writes:
>
> > [EMAIL PROTECTED] on Tue 29/02 12:43 -0800:
> > > > That would take too long at large sites. How about
> > > >
> > > > +if [ `ypcat -k $map 2>/dev/null | head | wc -l` -eq 0 ] ; then
> > > > + map=`echo "$map" | sed -e 's/^auto_/auto./'`
> > > > +fi
> > > >
> > > > besides what about when auto_home is just "+auto.home" ?
> > >
> > > Handling + in auto_master would be nice. The + as an entry in a map
> > > is utterly and fundamentally broken (a map is an associative lookup,
> > > d**** it!)
>
> Handling included maps would indeed be a useful kludge. But one
> requiring significant effort, it seems.
Not just that, it would require breaking a very nice internal
abstraction.
> How about just for now using
> the heuristic above -- included maps will of course still not work,
> but I think this would effectively handle other (no '+' map)
> situations, and these are the errors people are actually seeing.
>
> Any objection to me patching the Debian autofs package as above? And
> separately, any objection to me patching the Debian autofs package
> with the daemon patch I submitted earlier?
No, please go right ahead. Even better would be if you could send me a
patch for the (attempt at) multidistribution rc file that I can send.
-hpa