From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CD8B61384C3 for ; Sat, 5 Sep 2015 18:13:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0DA2014269; Sat, 5 Sep 2015 18:13:51 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id B9BF214242 for ; Sat, 5 Sep 2015 18:13:49 +0000 (UTC) Received: from android-77beb1bf3a8e3725.home (host86-162-125-136.range86-162.btcentralplus.com [86.162.125.136]) by mail.digimed.co.uk (Postfix) with ESMTPA id A1179179453 for ; Sat, 5 Sep 2015 19:13:48 +0100 (BST) User-Agent: K-9 Mail for Android In-Reply-To: <55EAF754.5030603@sys-concept.com> References: <55EA7A10.9010908@sys-concept.com> <55EA8323.8010309@gmail.com> <55EAF754.5030603@sys-concept.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----318VM5RGV91MCHN7ZTX333KR3QONL6" Content-Transfer-Encoding: 8bit Subject: Re: [gentoo-user] /var/tmp/notmpfs - does not exist From: Neil Bothwick Date: Sat, 05 Sep 2015 19:13:46 +0100 To: gentoo-user@lists.gentoo.org Message-ID: X-Archives-Salt: a7be3cb6-1ce0-4ecc-b58f-5751a2d0453f X-Archives-Hash: b5894fc5a782fdad34b590a954f0b6f6 ------318VM5RGV91MCHN7ZTX333KR3QONL6 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 On 5 September 2015 15:08:20 BST, thelma@sys-concept.com wrote: > On 09/04/2015 11:52 PM, Dale wrote: > > thelma@sys-concept.com wrote: > >> When I try to run emerge on my system I get: > >> > >> ... > >> * Your boot partition was not mounted at /boot, so it will be > automounted for you. > >> * Files will be installed there for grub to function correctly. > >>>>> Running pre-merge checks for dev-db/mysql-5.6.26 > >>>>> Running pre-merge checks for net-libs/webkit-gtk-2.4.9-r200 > >>>>> Running pre-merge checks for mail-client/thunderbird-38.2.0 > >> The directory specified in your PORTAGE_TMPDIR variable, > '/var/tmp/notmpfs', > >> does not exist. Please create this directory or correct your > PORTAGE_TMPDIR setting. > >> > >> my fstab: > >> ... > >> proc /proc proc defaults 0 0 > >> shm /dev/shm tmpfs defaults,nodev,nosuid,mode=1777 0 0 > >> tmpfs /var/tmp/portage tmpfs defaults 0 0 > >> > >> > >> ll /var/tmp/ > >> total 0 > >> drwxrwxrwt 4 portage portage 80 Sep 4 23:04 portage > >> > >> Do I need to create dir: /var/tmp/notmpfs ? > >> My other systems did not show any such message. > >> > > > > > > Are you trying to have portage's work directory on tmpfs? If so, I > have > > this in fstab: > > > > tmpfs /var/tmp/portage tmpfs noatime 0 > 0 > > > > I don't have anything in fstab for PORTAGE_TMPDIR tho. According to > > this, you do need to create the directory if you are making > exceptions. > > > > > https://wiki.gentoo.org/wiki/Portage_TMPDIR_on_tmpfs#Per-Package_Choices_at_Compile_Time > > > > |root #||mkdir /var/tmp/notmpfs | > > |root #||chown portage:portage /var/tmp/notmpfs | > > |root #||chmod 775 /var/tmp/notmpfs > > > > Hope that helps. > > > > Dale > > I had this configuration already set: > /etc/portage/env/notmpfs.conf > PORTAGE_TMPDIR="/var/tmp/notmpfs" > > /etc/portage/package.env > mail-client/thunderbird notmpfs.conf > www-client/firefox notmpfs.conf > > What was missing was only directory: > /var/tmp/notmpfs > > I'll remove "tmpfs" from fstab > > > Thelma. I see what you're trying to do, have large packages built without using tmpfs, but you need to point PORTAGE_TMPDIR to an existing directory on your hard disk. -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. ------318VM5RGV91MCHN7ZTX333KR3QONL6 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
On 5 September 2015 15:08:20 BST, thelma@sys-concept.com wrote:
On 09/04/2015 11:52 PM, Dale wrote:
thelma@sys-concept.com wrote:
When I try to run emerge on my system I get:

...
* Your boot partition was not mounted at /boot, so it will be automounted for you.
* Files will be installed there for grub to function correctly.
Running pre-merge checks for dev-db/mysql-5.6.26
Running pre-merge checks for net-libs/webkit-gtk-2.4.9-r200
Running pre-merge checks for mail-client/thunderbird-38.2.0
The directory specified in your PORTAGE_TMPDIR variable, '/var/tmp/notmpfs',
does not exist. Please create this directory or correct your PORTAGE_TMPDIR setting.

my fstab:
...
proc /proc proc defaults 0 0
shm /dev/shm tmpfs defaults,nodev,nosuid,mode=1777 0 0
tmpfs /var/tmp/portage tmpfs defaults 0 0


ll /var/tmp/
total 0
drwxrwxrwt 4 portage portage 80 Sep 4 23:04 portage

Do I need to create dir: /var/tmp/notmpfs ?
My other systems did not show any such message.



Are you trying to have portage's work directory on tmpfs? If so, I have
this in fstab:

tmpfs /var/tmp/portage tmpfs noatime 0 0

I don't have anything in fstab for PORTAGE_TMPDIR tho. According to
this, you do need to create the directory if you are making exceptions.

https://wiki.gentoo.org/wiki/Portage_TMPDIR_on_tmpfs#Per-Package_Choices_at_Compile_Time

|root #||mkdir /var/tmp/notmpfs |
|root #||chown portage:portage /var/tmp/notmpfs |
|root #||chmod 775 /var/tmp/notmpfs

Hope that helps.

Dale

I had this configuration already set:
/etc/portage/env/notmpfs.conf
PORTAGE_TMPDIR="/var/tmp/notmpfs"

/etc/portage/package.env
mail-client/thunderbird notmpfs.conf
www-client/firefox notmpfs.conf

What was missing was only directory:
/var/tmp/notmpfs

I'll remove "tmpfs" from fstab


Thelma.


I see what you're trying to do, have large packages built without using tmpfs, but you need to point PORTAGE_TMPDIR to an existing directory on your hard disk.
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity. ------318VM5RGV91MCHN7ZTX333KR3QONL6--