Mount failed to resolve a machine name that was present in /etc/hosts.
The system concerned had the resolv+ libraries installed, and was using
DNS for name resolution. It was also running as an NIS client.
Most responses noted that mount is statically linked and therefore
would only attempt to locate the machine in the NIS hosts maps.
The solution therefore is either to ensure that the machine is present
in the NIS hosts map, or to replace mount with a dynamically linked
version that would use the updated libc.so.
Useful responses regarding /etc/hosts and the NIS hosts map:
From: Lars Viklund <firstname.lastname@example.org>
> Yes, but /etc/hosts isn't used if NIS is running.
> Do you have the machine in the hosts NIS map?
From: email@example.com (Jeff Blows)
> I think this is the key. You are using NIS. make sure that the host is in
> the NIS maps. use "ypcat hosts" to do this. If you are on the NIS server make
> sure you have done a make in /var/yp.
Pointers to dynamically-linked versions of mount:
From: Robert Montjoy <Rob_Montjoy@ece.uc.edu>
> You will need to get a non-statically linked mount command.
> One is available from thor.ece.uc.edu in ~ft/pub/sun-faq/Source
From: firstname.lastname@example.org (Alain Brossard EPFL-SIC/SII)
> mount (and rcp) are staticaly linked, hence your changes to libc.so are
> not taken into account. I've provided, for years, a version of those
> two programs which are dynamically linked from 4.1.2 sources. They work
> for 4.1.2, 4.1.3 and 4.1.3_U1, not tested for 4.1.4.
The following also contributed advice:
From: Richard Bainter (Pug) <email@example.com>
From: Alan Clegg <abc@Interpath.net>
From: Woobin Lee <firstname.lastname@example.org>
Thanks to all who responded; your help is much appreciated.
Systems Administrator, email@example.com
Department of Robotics and Digital Technology,
Clayton 3168, Ph: +61 3 905 3218
Victoria, Australia. Fax: +61 3 905 3574
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:16 CDT