From owner-freebsd-stable@FreeBSD.ORG Sat Aug 26 19:27:38 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1417916A4DE; Sat, 26 Aug 2006 19:27:38 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from freebee.digiware.nl (www.tegenbosch28.nl [217.21.251.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AAD243D53; Sat, 26 Aug 2006 19:27:36 +0000 (GMT) (envelope-from wjw@digiware.nl) Received: from [192.168.2.10] (unknown [192.168.2.10]) by freebee.digiware.nl (Postfix) with ESMTP id 700C42AAA0; Sat, 26 Aug 2006 21:27:35 +0200 (CEST) Message-ID: <44F0A0BD.6040306@digiware.nl> Date: Sat, 26 Aug 2006 21:27:57 +0200 From: Willem Jan Withagen User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Ruslan Ermilov References: <200608141702.k7EH29SV095709@lurza.secnetix.de> <20060814194610.GE63788@rambler-co.ru> In-Reply-To: <20060814194610.GE63788@rambler-co.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: installword with DESTDIR=/nfs doesn't work? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Aug 2006 19:27:38 -0000 Ruslan Ermilov wrote: > On Mon, Aug 14, 2006 at 07:02:09PM +0200, Oliver Fromme wrote: >> Hi, >> >> I just tried to do a "make installworld" with DESTDIR set >> to a directory on an NFS server. It broke like this: >> >> ===> lib/libcom_err/doc (install) >> lockf -k /mnt/data/6.1-TEST/original-tree/usr/share/info/dir install-info --quiet --defsection="Programming & development tools." --defentry="* libcom_err: (com_err). A Common Error Description Library for UNIX." com_err.info /mnt/data/6.1-TEST/original-tree/usr/share/info/dir >> lockf: cannot open /mnt/data/6.1-TEST/original-tree/usr/share/info/dir: Operation not supported >> *** Error code 73 >> Stop in /usr/src/lib/libcom_err/doc. >> *** Error code 1 >> >> Am I missing something? Is installworld over NFS supported >> at all? I could swear I have done it before ... >> > Yes. From build(7): > > : installworld Install everything built by a preceding buildworld step > : into the directory hierarchy pointed to by make(1) vari- > : able DESTDIR. > : > : If installing onto an NFS file system, make sure that > : rpc.lockd(8) is running on both client and server. See > : rc.conf(5) on how to make it start at boot time. Well my problem was that the system I wanted to overwrite had a defect CDrom, but was still running something like 4.x without rpc.lockd really working. Why don't know .... But since I was desperate to upgrade I stopped the installprocess to replace lockf with a dud shellscript. That got me thru. I'm sure it is needed for one reason or another, but would be nice it one could overrule it. --WjW