A problem with NIS distributed automount maps

From: Sinisa Segvic <ssegvic_at_ZEMRIS.FER.HR>
Date: Mon, 04 Dec 2000 14:13:44 +0100 (MET)

Hello managers,

I have a trouble making automount recognize auto.master
map distributed by NIS on a Tru64 UNIX v5.0a.
Here are the relevant data:

1)
  ypcat -k auto.master on the test machine potjeh
  which is an NIS client says

  /- auto.direct
  /net -hosts

  ypcat -k auto.direct says

  /usr/local -ro toporko:/usr/local

2)
  NIS server toporko is also an NFS server, whose /etc/exports reads:

  /usr/local -ro -access=alpha-unix

  (/etc/exports has been reduced for the same purposes as above)

  accordingly, showmount -e toporko says

  /usr/local alpha-unix


3)
  ypcat -k netgroup on potjeh says

  ...
  alpha-unix (kosjenka,,) (toporko,,) (neumijko,,) (potjeh,,)
  ...

4)
  potjeh can make an explicit mount of the /usr/local on toporko:
  
  mount -t nfs toporko:/usr/local /mnt

  (ls /mnt works as expected)

5)
  Here is the problem.
  In sysman nfs_client, I enable the automount daemon, with arguments -v.
  I receive an answer that automount can't be started and that
  the problem is probably tied with automount arguments.
  Accordingly, /var/adm/syslogd.dated/current/daemon.log
  is added a line saying automount: No file systems to serve.

6)
  However, if the same maps are created locally, and automount
  arguments are set to -m -f /etc/automaster, ls /usr/local
  starts working as expected.

  /etc/auto.master:

  /- /etc/auto.direct
  /etc -hosts

  /etc/auto.direct:

  /usr/local -ro toporko:/usr/local



I am pretty stuck with this and any helpfull
hints will be greatly appreciated.

Regards,

Sinisa Segvic
Received on Mon Dec 04 2000 - 13:17:48 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT