Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 2016 22:29:35 +0100
From:      Tom Vijlbrief <tvijlbrief@gmail.com>
To:        Garrett Cooper <yaneurabeya@gmail.com>
Cc:        bdrewery@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: Installworld fails with TMPDIR pointing to NFS mounted directory
Message-ID:  <CAOQrpVeqQLnDUvN%2Bh5sMGhK=EzJ-KR3eCk7Yqiq0GAmPT1gkqQ@mail.gmail.com>
In-Reply-To: <158AF387-3A1A-4C26-A7BD-E4609B62E9B4@gmail.com>
References:  <CAOQrpVc9KT4OzmRje9w65vtN-hah3bkaC8M6vxD-jwzDWq5nhQ@mail.gmail.com> <935599D8-FAC0-4ED3-BC1F-5E2AA6C8ABCE@gmail.com> <CAOQrpVdD0XsKZd_kDPPNfJnF9O8C66pBcEv3yXT1M7GzQ=HJfw@mail.gmail.com> <158AF387-3A1A-4C26-A7BD-E4609B62E9B4@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
https://lists.freebsd.org/pipermail/freebsd-current/2010-September/019820.html
Op 12 jan. 2016 20:39 schreef "Garrett Cooper" <yaneurabeya@gmail.com>:

>
> On Jan 12, 2016, at 11:21, Tom Vijlbrief <tvijlbrief@gmail.com> wrote:
>
>
> Op di 12 jan. 2016 om 18:08 schreef NGie Cooper <yaneurabeya@gmail.com>:
>
>>
>> > On Jan 12, 2016, at 08:42, Tom Vijlbrief <tvijlbrief@gmail.com> 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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOQrpVeqQLnDUvN%2Bh5sMGhK=EzJ-KR3eCk7Yqiq0GAmPT1gkqQ>