Hi!
I recently installed RedHat6.0 on 10 machines. I used one of the
machines as a NIS and NFS server, all others as clients.
I ran into two main problems:
1) /etc/rc.d/init.d/autofs startup script did not handle correctly
the fact that I wanted to use the NIS maps for all auto.* references.
It even managed to do things like "automount ... yp /etc/auto.home"
which is a nonsense combination of arguments.
How does one go about the issue of using files, NIS or the combination?
What good is the /etc/nsswitch.conf automount entry since it is not
consulted by the startup script where the automounter is started?
And what about updating the auto.master in NIS; one has to
restart autofs for this to take effect?
(I edited the startup script and moved away all /etc/auto.* files
on the clients to make it work as desired).
2) In my /etc/auto.home I had an entry like this:
* server:/export/home/& # (mounted under /home/*)
This worked nicely on all clients except the server itself
which did not use mount but simply added a soft link from
/export/home/* to /home/*. This leads to e.g. wrong output
from 'pwd' (/export/home/* instead of /home/* as in the passwd map).
How do I force the automounter to use a proper "loopback" mount?
(I solved the problem by moving /export/home/* to /home/* on the
server and not use the automounter locally on the server).
I hope this was not an inappropriate post for this mailing list.
Please give my some clues before sending me out on the narrow path...
;-)
Sincerely
--
Rolf Welde Skeie Senior Design Engineer
_____________________________________________________________________
Email : mailto:[EMAIL PROTECTED] Scali AS (http://www.scali.com)
Tlf : (+47) 6384 6705 Hvamstubben 17 oo
Fax : (+47) 6384 4005 2013 Skjetten __________ m/V\> _
Home : (+47) 2214 8987 NORWAY . . :: . 077-0
Mob : (+47) 9248 4511 ----------------------