CFS problems with lockd under Solaris 2.4

CFS problems with lockd under Solaris 2.4

Post by Paul Pom » Thu, 09 Nov 1995 04:00:00

After working with CFS (Matt Blaze's Cryptographic File System) for the last
few days on a Sparc-20MP and Solaris 2.4, I've noted some problems with lockd.
As can be seen below, MH's file locking is causing lockd some heartburn with
my CFS protected Mail directory.

Background:  /usr/local/libexec/cfsd is started at boot time.

The /crypt filesystem is mounted with port=3049, the one serviced by cfsd.

1# mount -o noquota,port=3049,intr,bg localhost:/null /crypt

2# mount | grep crypt
/crypt on localhost:/null noquota/port=3049/intr/bg/remote on Fri Nov  3 10:05:17 1995

Using the MH repl command eventually invokes the send command.  After the
message is delivered to sendmail, send attempts to annotate the original
message as to who was replied to.  It first opens then attempts to lockf()
the message file:

Nov  3 22:06:57 zelkova lockd[107]: create_client: no inet address for host localhost
Nov  3 22:13:37 zelkova last message repeated 25 times
Nov  3 22:13:52 zelkova lockd[107]: create_client: no inet address for host localhost

I was then pointed to patch 101977-04 which replaced the problem with a new
one.  Now after the send command is invoked, the following error occurs

Nov  8 06:40:41 zelkova unix: WARNING: nfs_fhfid: corrupt filehandle

It repeats 10 times, then lockf() gives up.  I suppose this is an improvement.
Ideally I'd like to have locking work on directories exported and mounted
on the same machine.  The loopback filesystem (lofs(7)) looks like it might
be useful here, but I can't see how to use it in this case.

"A well-schooled electorate, being necessary to the security of a free State,
the right of the People to keep and read Books shall not be infringed."
                -- J. Neil Schulman


CFS problems with lockd under Solaris 2.4

Post by Luca Manzat » Fri, 10 Nov 1995 04:00:00

We found the same problem with lockd.
If should be nice if we could exchange our ideas about our common
As we are using internet from very few days, please try to send me email
just to test if we can go on discussing...

Thank you



1. lockd error msgs on Solaris 2.4 (sparc)

Does someone know what the source for the error messages below is ?
I have DNS and YP up and running.

lockd[986]: create_client: no inet address for host hs0100
lockd[986]: create_client: no name for inet address 0x60

2. NCSA httpd won't work with Linux > 1.3.2x! HELP!

3. Solaris 2.4/ lockd errors

4. linux hdcp client howto

5. lockd woes on Solaris 2.4

6. DVD-ROM drive not recognised

7. Apparent problems with lockd in 2.4

8. Sound Blaster??

9. Problem with rpc.lockd [lockd] process

10. lockd vs. Pine, mailx (2.4 + 101945-34)

11. Wu-ftpd 2.4 under Solaris 2.4

12. rpc.lockd (or lockd) on Linux ?