From owner-freebsd-current Fri Nov 15 13:58:56 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96BE237B401 for ; Fri, 15 Nov 2002 13:58:54 -0800 (PST) Received: from smartie.xs4all.nl (smartie.xs4all.nl [213.84.1.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B0AC43E3B for ; Fri, 15 Nov 2002 13:58:53 -0800 (PST) (envelope-from martijn@smartie.xs4all.nl) Received: from sillywalks.org (boekje.ipv6.sillywalks.org [IPv6:3ffe:8280:10:580:260:8ff:febc:f191]) by smartie.xs4all.nl (8.12.6/8.12.6) with ESMTP id gAFLweE0086979 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=OK); Fri, 15 Nov 2002 22:58:50 +0100 (CET) (envelope-from martijn@sillywalks.org) Message-ID: <3DD56DF8.6050206@sillywalks.org> Date: Fri, 15 Nov 2002 22:58:16 +0100 From: Martijn Pronk User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021103 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway Cc: "Andrew P. Lentvorski" , current@freebsd.org Subject: Re: rpc.lockd problems References: <20021114171353.A2223-100000@mail.allcaps.org> <3DD497C7.6070700@sillywalks.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-4.6 required=5.0 tests=CARRIAGE_RETURNS,QUOTED_EMAIL_TEXT,REFERENCES, SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_MOZILLA_UA, X_ACCEPT_LANG version=2.41 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Martijn Pronk wrote: >>> "My program" is just anything that attempts to obtain a lock on a file >>> on the NFS filesystem. vi does this when opening an existing file, as >>> does mutt when opening a mailbox. >>> >> >> >> Well, that sure simplifies the problem of running your program. ;) >> >> > Thanks for the info, I will try that tonight after I get back home > from the first > day of the EuroBSDcon. OK, I tested it with a Solaris 8 NFS server with -current as a client, and locking does indeed work. (At least, vi didn't show the word "UNLOCKED" in the bottom line after I enabled rpc.lockd) However, I had some starting problems with rpc.lockd. Aparently it requires that rpc.statd also is running. Since I didn't had these things enabled in rc.conf, I started them manually. rpc.lockd quits silently without logging anything about what happened. The manualpage does mention that rpc.lockd " typically runs in conjunction with rpc.statd" As I don't see a direct requirement in this line, I didn't realize it was required. HTH, Martijn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message