From owner-freebsd-current@freebsd.org Tue Jan 12 21:29:37 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 E952CA80E33 for ; Tue, 12 Jan 2016 21:29:37 +0000 (UTC) (envelope-from tvijlbrief@gmail.com) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (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 825C21748; Tue, 12 Jan 2016 21:29:37 +0000 (UTC) (envelope-from tvijlbrief@gmail.com) Received: by mail-wm0-x22d.google.com with SMTP id f206so341899368wmf.0; Tue, 12 Jan 2016 13:29:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=jazXPktRkySDvTyxugr9YsmrKVR6eUc86rrmktVQchw=; b=L9DOwjMfmCPHBGPxZgiP0nmJUuih7qC4lfei9twm6DisF2zd0kbPDjVDtdR0fywPTI ZewFMp0Y/bDGTxvVL7O2Hk4wDJT7+83lzj/AdjmrP07RaReQkd7GMOHxCQ53o4SYoIcm 0JJ2MOEv4Q18tV8rVVk4v8bCRtEq4w0OOdKEaou1CGICzbw+wUymzUJHfTKJh5lGg6Kx 9QX3SDePIQ+ZXWP3MsWbtUjYcWeT/6EKJrX1OM2pvbExzZkXH7vuHVEAFrVZTFcIhZDo P47JBbo5Nb/NbtmgSgqhB5ypxqc8SqAQ653ffp7gMaDDIaY26T+2cMMyP81cmbTHVK8F 2bMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=jazXPktRkySDvTyxugr9YsmrKVR6eUc86rrmktVQchw=; b=BcSmDJzuXm+9sX3rNxR5L8Sv1cSLvLw5X557cjcdKI6UdkyaJ8UoHllkZpYevrN9zS ForKhfglYs+9w5ZeTQHatDWHr4/zDyGInsIgtBJvuK1cLpLFWJI9LA+w6oYdrx8g9JPT QCDg6qdq0OvKw48nUQWcRjMf25KJPNWBqreeu9dGOwZfGveL+IJcK2z8Wx3gAe8aN/jV FODSOPv2F/x8Hwcn0BiJP6uBFPcpo4wgrThHBZbFpnWTrqvSqFmS7bYDPwclXY5XGIfr Q11idKfaKpdaB/yp5Nh14vRtF6VllKBxP5L5y2JU1aeUUYKKQMv83ziE4Z3WsnsHiBqJ euXA== X-Gm-Message-State: ALoCoQk+YfHCIVVHE8G40Dp3N5lXxQIoJ/HkTNIqf4r/r1F/VxFyqewvckS80jokCk8oYcfYrdezElE1j1T5qnzY+KPzLjnP4Q== MIME-Version: 1.0 X-Received: by 10.28.153.3 with SMTP id b3mr22706432wme.7.1452634176040; Tue, 12 Jan 2016 13:29:36 -0800 (PST) Received: by 10.27.14.227 with HTTP; Tue, 12 Jan 2016 13:29:35 -0800 (PST) Received: by 10.27.14.227 with HTTP; Tue, 12 Jan 2016 13:29:35 -0800 (PST) In-Reply-To: <158AF387-3A1A-4C26-A7BD-E4609B62E9B4@gmail.com> References: <935599D8-FAC0-4ED3-BC1F-5E2AA6C8ABCE@gmail.com> <158AF387-3A1A-4C26-A7BD-E4609B62E9B4@gmail.com> Date: Tue, 12 Jan 2016 22:29:35 +0100 Message-ID: Subject: Re: Installworld fails with TMPDIR pointing to NFS mounted directory From: Tom Vijlbrief To: Garrett Cooper Cc: bdrewery@freebsd.org, freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 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 21:29:38 -0000 https://lists.freebsd.org/pipermail/freebsd-current/2010-September/019820.html Op 12 jan. 2016 20:39 schreef "Garrett Cooper" : > > On Jan 12, 2016, at 11:21, Tom Vijlbrief wrote: > > > Op di 12 jan. 2016 om 18:08 schreef NGie Cooper : > >> >> > 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 not >> > think it is raspberry related or even 11-CURRENT related. >> > >> > export TMPDIR=/media/usbdisk/tmp >> > >> > make installword MAKEOBJDIRPREFIX=/media/swan/obj >> >> Hi Tom, >> MAKEOBJDIRPREFIX should always be set via the environment, not >> the command line, e.g. >> >> export MAKEOBJDIRPREFIX=/media/swan/obj >> make installworld >> >> Cheers, >> -NGie > > > I think I actually did the export and not as I typed in my mail, > the export is in my shell history :-) > > I also added: > > rpc_lockd_enable="YES" > > to my /etc/rc.conf and rebooted (rpc.lockd is now running) as Bryan > suggested, but I don't think that it is needed if the only client accessing > the NFS tmp dir is the local client? > > [root@rpibsd /media/swan/src]# env | grep swan > TMPDIR=/media/swan/tmp > PWD=/media/swan/src > MAKEOBJDIRPREFIX=/media/swan/obj > > make installworld DESTDIR=/d/root11 > > Same result: > > ===> 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 > empty > rm: /media/swan/tmp/install.sy3BjziY/locale: Directory not empty > rm: /media/swan/tmp/install.sy3BjziY: Directory not empty > *** Error code 1 > > Stop. > make[1]: stopped in /media/swan/src > *** Error code 1 > > Stop. > make: stopped in /media/swan/src > [root@rpibsd /media/swan/src]# > > > The NFS "directory not empty" issue has been a common annoyance for me for > several years. It's not just you... It deserves a bug though. > Thanks! > -NGie >