From owner-freebsd-questions@FreeBSD.ORG Fri Sep 22 18:04:05 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D6BE16A403 for ; Fri, 22 Sep 2006 18:04:05 +0000 (UTC) (envelope-from robert@ml.erje.net) Received: from smtpout-1.iphouse.net (smtpout-1.iphouse.net [216.250.188.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD7FE43D45 for ; Fri, 22 Sep 2006 18:04:04 +0000 (GMT) (envelope-from robert@ml.erje.net) Received: from smtpout-1.iphouse.net (localhost [127.0.0.1]) by outbound-clamsmtpd.iphouse.net (Postfix) with ESMTP id DC8E92AC495 for ; Fri, 22 Sep 2006 13:04:03 -0500 (CDT) Received: from ziemel.erje.net (ismet.erje.net [213.84.32.196]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpout-1.iphouse.net (Postfix) with ESMTP id 74A1D2AC494 for ; Fri, 22 Sep 2006 13:04:03 -0500 (CDT) Received: from ismet.erje.net (ismet.erje.net [IPv6:2001:888:1f33::8e45:7e]) by ziemel.erje.net (PostFix 2.3.3) with ESMTP id 5683A128914 for ; Fri, 22 Sep 2006 20:03:31 +0200 (CEST) Received: by ismet.erje.net (PostFix 2.3.3, from userid 3003) id 5838A16C4CA; Fri, 22 Sep 2006 20:03:30 +0200 (CEST) Date: Fri, 22 Sep 2006 20:02:02 +0200 From: Robert Joosten To: questions@freebsd.org Message-ID: <20060922180202.GB918@iphouse.com> References: <20060921182252.GA24321@xor.obsecurity.org> <20060921214316.GD673@iphouse.com> <6180D198-A44B-46D0-8A0B-FC5D3ACA115C@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6180D198-A44B-46D0-8A0B-FC5D3ACA115C@mac.com> X-ICQ: 13643672 X-geek-code-v3.1: G!>CS@O dx>--@ s: a31(32) C+++ UBL++++$ P++ L-@+++$ !E W(+) N+++(*) o-- K- w- O- M- V- PS+@ PE- Y+ PGP++ t- 5- X- R* !tv b++@ DI++ D G-- e@ h*(+) r>+@ z+c X-FreeBSD: 026746 X-Mobile/GSM/cell: +3162526777 X-msn: BlixKater X-No-rights-can-be-derived: Indeed X-Face: 0[uRd; X4=_; G; $DL6Wm=\]R/TWu1f+t|,Li1Q-maBcUyCJsAw(Nmj-(aDA!Kk#hLr#njX9T@U-rQm?Z53"_]SBYab3-NCkCN/{1-#0T4U1Ry"TPY~dtpzfxs$9"BrXKPylt/#5QQb/y+|LF}; X-bored-?-crack-this: b938b801a0bfbd5ca4825715039e7574e73af36376314c7c0022cb1d204f76b3b938b801a0bfbd5ca4825715039e7574fd3ba6fa132c34aff2476c18fe9286682cd6ee2c70b0bde53fbe6cac3c8b8bb1e73af36376314c7c0022cb1d204f76b3fe13119fb084fe8bbf5fe3ab7cc89b3bf5302386464f953ed581edac03556e5572cfd272ace172fa35026445fbef9b0360b725f10c9c85c70d97880dfe8191b3b7269fa2508548e4032c455818f1e321e85dde330c34efb0e526ee3082e4353b12f54a96f64443246930da001cafda8b60b725f10c9c85c70d97880dfe8191b3557b444e04c3134f026cd0055caa1725e73af36376314c7c0022cb1d204f76b3fe13119fb084fe8bbf5fe3ab7cc89b3bf4d5d0c0671be202bc241807c243e80b User-Agent: Mutt/1.5.11 X-ziemel.erje.net-MailScanner: Ok, found to be clean X-Spam-Status: No X-Virus-Scanned: ClamAV using ClamSMTP Cc: Subject: Re: 6.1 and NFS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Sep 2006 18:04:05 -0000 Hi, > >Hmmm, is there a way to run pxe-boxes without rpc.lockd and then still > >able to run adduser and so on ? > Safely? No. But then, flock() doesn't work via NFS even if > rpc.lockd is running, so you aren't any worse off. flock() .. hmm yeah, I discoverd trouble with sendmail as well, it rings my bell. At least I know where to look for digging in the code finding clues about why. You say flock() doesn't work with rpc.lockd running. I observed running a pxe client running fbsd 5.[45] being served by nfs-box running 5 (and 4 nowadays because of asr0 trouble due to geom) having disabled rpc.lockd the box doens't let me run adduser, but with rpc.lockd enabled it's fine with 'em. Is that strange or am I missing (some) insight about this matter ? > However, I believe that some systems have actually re-implemented the > BSD flock() call in terms of calling the POSIX lockf(), which would > attempt to use rpc.lockd and thus have some chance of working over > NFS. I believe this was done in Linux by Andy Walker and for MacOS X > by Justin Walker (odd naming coincidence, there), IIRC; perhaps some > of these changes have made their way back to the other BSDs. Interesting observation. Thx for your reply ! Regards, Robert