> I haven't been following this thread closely but awhile ago I 
> brought this 
> issue up.
> 
> I'm in a heterogeneous environment: AIX, HPUX, Linux, Solaris.
> 
> With autofs3 on RedHat 7.1 users' home directories were 
> automounted but I 
> couldn't get /net to work.
> 
> So, I switched to autofs4 and then /net worked but users' 
> home directories 
> aren't automounted.
> 
> I find I have to "./autofs restart" to automount users' home 
> directories.
> 
> If anyone has run into this and found out why I'd appreciate 
> a reply. I can 
> live with the solution I have now but it's kinda like a 
> splinter in my mind.
> 
> Maybe the start script in rc3.d is occurring too soon? It's S18...

Are you getting the map from NIS?  I mentioned some improvements a while ago
on this list that need to go into the autofs4 rpm, and this was one of them.
It needs to start after NIS is running.  This is what I did:

Delete the autofs entry from chkconfig:
chkconfig --del autofs

Edit /etc/init.d/autofs and change the line:
#chkconfig 345 18 18   to
#chkconfig 345 61 18

Then reinsert it:

chkconfig --add autofs

This should change the start order of autofs.

I sent in this suggestion, but I haven't heard back from anyone.  I would
write a patch for it, but I am not very good at writing patches yet.  Oh
well.

Forrest

> 
> (I also find that I can't /net to HPUX boxes, but AIX, other 
> Linux boxes 
> and Solaris boxes are fine).
> 
> Cheers
> 
> Jason
> 
> At 10:19 AM 10/25/2001 -0700, Ogden, Aaron A. wrote:
> 
> >That was our original reasoning for using v4, we wanted to 
> get /net working
> >the way it does in Solaris.  Do you know of any how-tos to 
> get that working,
> >we tried to set that up but we were unsuccessful.  Maybe the 
> problem is that
> >we needed to have autofs v4 userspace tools to make that happen.
> >
> >Thanks for the advice, I will talk to the rest of my team 
> and decide on a
> >course of action to fix this.
> >Any idea when autofs v4 will go gold?  :-)
> >
> >--aaron
> >
> >
> > > -----Original Message-----
> > > From: H. Peter Anvin [SMTP:[EMAIL PROTECTED]]
> > > Sent: Thursday, October 25, 2001 12:14 PM
> > > To:   Ogden, Aaron A.
> > > Cc:   '[EMAIL PROTECTED]'; Schulte, Rick; 
> Waybright, Robert C.
> > > Subject:      Re: autofs interoperability problems 
> between linux and
> > > solaris
> > >
> > > Ogden, Aaron A. wrote:
> > >
> > > > Hmmmmm... I have to agree with you, the combination we 
> are using seems
> > > > broken to me.  :-)
> > > > So which do you think is most likely to work properly, 
> autofs v3 or v4?
> > > I
> > > > looked around at 
http://www.kernel.org/pub/linux/daemons/autofs and the
> > > latest version I could find was autofs-4.0.0pre10.  Is that stable
> > enough to
> > > use, or do you think it would be better to stick with autofs v3 for
now?
> > I
> > > can go either way.
> > >
> >
> >
> > autofs v3 has been beaten on for a very, very, very long time and is
> > likely to be the most stable configuration.  autofs v4 seems mostly
> > stable; use it if you have a need or desire for the v4 additional
> > features, such as /net mounts.
> >
> >       -hpa
> >

Reply via email to