Mailinglist Archive: opensuse (3104 mails)

< Previous Next >
Re: [SLE] automount + yp == trouble
  • From: jont@xxxxxxxxx (Jon Trygve Utne)
  • Date: Sat, 1 Apr 2000 11:07:14 +0200 (MET DST)
  • Message-id: <Pine.SOL.4.21.0004011021200.12490-100000@xxxxxxxxxxxxxxxx>



On Fri, 31 Mar 2000, Lynette Bellini wrote:

> auto.master
> /home /etc/auto.home

Setup on my clients (I removed the 'auto.misc' stuff here. That's
irrelevant right now):

# > cat /etc/auto.master
+auto_master

# > ypcat -k auto.master
/home auto.home -nosuid,noquota

# > cat /etc/auto.home
+auto_home

# > ypcat -k auto.home
foo -rw,intr,nosuid,noquota host_foo:/export/home

I can't recall right now if there was any magic in addition to this.
It's been a while since I set up these maps. Just try my setup and
see if that solves your problem.
If not, just send me a mail, and I'll dig deeper in my setup.

> /etc/rc.d/autofs status returns the following:
>
> Checking for service autofs: OK
> Configured Mount Points:
> - - ------------------------
> automount -t 300 /home file /etc/auto.home
> automount -t 300 /home yp auto.home nobrowse
>
> Active Mount Points:
> - - --------------------
> automount -t 300 /home file /etc/auto.home
>
>
> (I believe there should be "yp" in there instead of/in addition to
> "file".)

Yes, that's correct:

# > rcautofs status
Configured Mount Points:
------------------------
automount -t 300 /home yp auto.home nosuid,noquota

Active Mount Points:
--------------------
automount -t 300 /home yp auto.home nosuid,noquota

>
> /var/log/messages has only:
> Mar 30 11:52:15 sevengill automount[155]: attempting to mount entry /home/tobkin
> Mar 30 11:52:15 sevengill automount[289]: lookup(file): looking up tobkin
> Mar 30 11:52:15 sevengill automount[289]: lookup(file): lookup for tobkin failed
>
> for errors. I believe this means that the automounter is not seeing
> the yp auto.home map. I have also tried

It should be something like this:

Apr 1 10:16:58 ligo0-1 automount[208]: attempting to mount entry
/home/foo
Apr 1 10:16:58 ligo0-1 automount[13421]: lookup(yp): looking up foo
Apr 1 10:16:58 ligo0-1 automount[13421]: lookup(yp): foo ->
-rw,intr,nosuid,noquota host_foo:/export/home

... and so on.

---J.T.U.

/==================================================================\
| Jon Trygve Utne |e-mail: jont@xxxxxxxxx |
| Department of Informatics | Jon.Utne@xxxxxxxxx |
| University of Bergen, Norway | Jon.Utne@xxxxxxxxxxxxxx |
| Tlf(work) +47 55 58 82 95 |"Smith & Wesson: The original|
| URL: http://www.ii.uib.no/~jont | point and click interface" |
\==================================================================/



--
To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/


< Previous Next >
Follow Ups