#265495 No trivial way to use NFS mounted ~ with NIS names

Package:
ypbind-mt
Source:
ypbind-mt
Description:
Client daemon for working with Network Information System (NIS)
Submitter:
Ross Burton
Date:
2021-01-24 15:45:10 UTC
Severity:
minor
#265495#5
Date:
2004-08-13 12:01:09 UTC
From:
To:
On our work desktops /home is mounted over NFS and the host naming is performed
with NIS (each desktop only knows what its name is).

However, the default setup of NIS and NFS is that NFS starts first, the NIS.
This means that when NFS starts it tries to mount /home from "gawain", a name
which NIS can happily resolve but without it the mount fails.  Then NIS starts
and once the boot is complete I can login and type "mount /home".

I've created /etc/rcS.d/S44nis which simply calls "/etc/init.d/nis start" which
works around the problem but isn't pretty.

I understand that this is probably due to some people wanting /usr to be served
over NFS, but it would be great if both use cases were possible out of the box.

#265495#10
Date:
2004-08-13 12:48:24 UTC
From:
To:
You're using NIS to resolve hostnames? It's not 1986 anymore, you know .. :)

Using NIS to resolve hostnames has been deprecated for years. You really should
consider switching to DNS, that will solve your problem right away.

Mike.

#265495#17
Date:
2014-11-24 19:10:47 UTC
From:
To:
I also think it's not usual to do NFS mounts without adding the NFS
server into DNS or your /etc/hosts.

Closing this bug, sice you also have a workaround.