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

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?158AF387-3A1A-4C26-A7BD-E4609B62E9B4>