diskless with /usr on nfs: mount.nfs depends on /usr/lib/libtirpc.so !?!

Rob spamrefuse at yahoo.com
Fri Dec 18 13:11:46 UTC 2009


Hi,

I'm using an up-to-date Fedora 12 with nfs-utils.

I'm setting up a diskless client, which will share most of its system
file system with the server; e.g. the client will have a root-ramdisk
and mounts /usr over nfs; a rather standard procedure explained
on the web.

However, somehow the diskless client was unable to mount /usr
over nfs, and (after pulling out my hair for a while) I suddenly
discovered that the /sbin/mount.nfs actually depends on a library
on /usr:

$ ldd /sbin/mount.nfs | grep usr
    libtirpc.so.1 => /usr/lib/libtirpc.so.1
    libgssglue.so.1 => /usr/lib/libgssglue.so.1

The executable which mounts /usr depends on a library that is
not mounted yet....the snake seems to bite its own tail here!

When I copied the two libraries (the library and their links) to
/usr, the client could easily nfs-mount the /usr directory!!

Am I missing something here, or is this a serious bug in the
yum/rpm package of nfs-utils?

I'm using:
nfs-utils-lib-1.1.4-8.fc12.i686
nfs-utils-1.2.1-4.fc12.i686

Thanks,
Rob.


      




More information about the fedora-list mailing list