From owner-freebsd-current@freebsd.org Tue Jan 12 19:39:21 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6CAA5A66E70 for ; Tue, 12 Jan 2016 19:39:21 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-qg0-x236.google.com (mail-qg0-x236.google.com [IPv6:2607:f8b0:400d:c04::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2A2181967; Tue, 12 Jan 2016 19:39:21 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-qg0-x236.google.com with SMTP id o11so437250699qge.2; Tue, 12 Jan 2016 11:39:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=lW+V3wkiLrNIdtPobqXHCQnDwGFPHbL6Q4YxhV+4ZHY=; b=cBz646ST1kxjiT3ZcTJkvOEIY6s3hHfMkvwIdlGb7oKomH2Zy2N7p94yNeQVwuoykW 0HOYq87BJl5XBqPK0J9UFC4w0whqsf017Jcus1fwHYE9oHyNdTcugnKq4UKKbPUm6UDY SPyoMkVO5/kwln1gF/QaeVkr37U5l8naAIO6KpYWpEe6wKfCP9KMxi9W9xoF9OgAi3I9 qX7GErQ6mZJjMyzrqo1B1PxskuqZUH4xnmsH3G7I5JKpDZj7OubcRvLvyJ7Lnz+637zE FTRkd0v5Azlmc3o6yWjOjari0P0zr2mxUgtrhy1PpbzqD2I161lUzxj6qfJ21vJ6/KjD Hw/Q== X-Received: by 10.140.175.7 with SMTP id v7mr5689798qhv.103.1452627560234; Tue, 12 Jan 2016 11:39:20 -0800 (PST) Received: from [162.180.66.240] ([172.56.29.167]) by smtp.gmail.com with ESMTPSA id w140sm12074208qhb.37.2016.01.12.11.39.18 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 12 Jan 2016 11:39:18 -0800 (PST) Mime-Version: 1.0 (1.0) Subject: Re: Installworld fails with TMPDIR pointing to NFS mounted directory From: Garrett Cooper X-Mailer: iPhone Mail (13C75) In-Reply-To: Date: Tue, 12 Jan 2016 11:39:17 -0800 Cc: freebsd-current@freebsd.org, bdrewery@freebsd.org Message-Id: <158AF387-3A1A-4C26-A7BD-E4609B62E9B4@gmail.com> References: <935599D8-FAC0-4ED3-BC1F-5E2AA6C8ABCE@gmail.com> To: Tom Vijlbrief Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2016 19:39:21 -0000 > On Jan 12, 2016, at 11:21, Tom Vijlbrief wrote: >=20 >=20 > Op di 12 jan. 2016 om 18:08 schreef NGie Cooper : >>=20 >> > On Jan 12, 2016, at 08:42, Tom Vijlbrief wrote: >> > >> > If have this issue with 11-CURRENT on my raspberry 1 and 2, but I do no= t >> > think it is raspberry related or even 11-CURRENT related. >> > >> > export TMPDIR=3D/media/usbdisk/tmp >> > >> > make installword MAKEOBJDIRPREFIX=3D/media/swan/obj >>=20 >> Hi Tom, >> MAKEOBJDIRPREFIX should always be set via the environment, not th= e command line, e.g. >>=20 >> export MAKEOBJDIRPREFIX=3D/media/swan/obj >> make installworld >>=20 >> Cheers, >> -NGie >=20 > I think I actually did the export and not as I typed in my mail, > the export is in my shell history :-) >=20 > I also added: >=20 > rpc_lockd_enable=3D"YES" >=20 > to my /etc/rc.conf and rebooted (rpc.lockd is now running) as Bryan sugges= ted, but I don't think that it is needed if the only client accessing the NFS= tmp dir is the local client? >=20 > [root@rpibsd /media/swan/src]# env | grep swan > TMPDIR=3D/media/swan/tmp > PWD=3D/media/swan/src > MAKEOBJDIRPREFIX=3D/media/swan/obj >=20 > make installworld DESTDIR=3D/d/root11 >=20 > Same result: >=20 > =3D=3D=3D> etc/sendmail (install) > cd /media/swan/src/etc/../share/man; make makedb > makewhatis /d/root11/usr/share/man > makewhatis /d/root11/usr/share/openssl/man > rm: /media/swan/tmp/install.sy3BjziY/locale/en_US.UTF-8: Directory not emp= ty > rm: /media/swan/tmp/install.sy3BjziY/locale: Directory not empty > rm: /media/swan/tmp/install.sy3BjziY: Directory not empty > *** Error code 1 >=20 > Stop. > make[1]: stopped in /media/swan/src > *** Error code 1 >=20 > Stop. > make: stopped in /media/swan/src > [root@rpibsd /media/swan/src]#=20 The NFS "directory not empty" issue has been a common annoyance for me for s= everal years. It's not just you... It deserves a bug though. Thanks! -NGie=