Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /var/tmp/notmpfs - does not exist
Date: Sat, 05 Sep 2015 14:08:24
Message-Id: 55EAF754.5030603@sys-concept.com
In Reply to: Re: [gentoo-user] /var/tmp/notmpfs - does not exist by Dale
1 On 09/04/2015 11:52 PM, Dale wrote:
2 > thelma@×××××××××××.com wrote:
3 >> When I try to run emerge on my system I get:
4 >>
5 >> ...
6 >> * Your boot partition was not mounted at /boot, so it will be automounted for you.
7 >> * Files will be installed there for grub to function correctly.
8 >>>>> Running pre-merge checks for dev-db/mysql-5.6.26
9 >>>>> Running pre-merge checks for net-libs/webkit-gtk-2.4.9-r200
10 >>>>> Running pre-merge checks for mail-client/thunderbird-38.2.0
11 >> The directory specified in your PORTAGE_TMPDIR variable, '/var/tmp/notmpfs',
12 >> does not exist. Please create this directory or correct your PORTAGE_TMPDIR setting.
13 >>
14 >> my fstab:
15 >> ...
16 >> proc /proc proc defaults 0 0
17 >> shm /dev/shm tmpfs defaults,nodev,nosuid,mode=1777 0 0
18 >> tmpfs /var/tmp/portage tmpfs defaults 0 0
19 >>
20 >>
21 >> ll /var/tmp/
22 >> total 0
23 >> drwxrwxrwt 4 portage portage 80 Sep 4 23:04 portage
24 >>
25 >> Do I need to create dir: /var/tmp/notmpfs ?
26 >> My other systems did not show any such message.
27 >>
28 >
29 >
30 > Are you trying to have portage's work directory on tmpfs? If so, I have
31 > this in fstab:
32 >
33 > tmpfs /var/tmp/portage tmpfs noatime 0 0
34 >
35 > I don't have anything in fstab for PORTAGE_TMPDIR tho. According to
36 > this, you do need to create the directory if you are making exceptions.
37 >
38 > https://wiki.gentoo.org/wiki/Portage_TMPDIR_on_tmpfs#Per-Package_Choices_at_Compile_Time
39 >
40 > |root #||mkdir /var/tmp/notmpfs |
41 > |root #||chown portage:portage /var/tmp/notmpfs |
42 > |root #||chmod 775 /var/tmp/notmpfs
43 >
44 > Hope that helps.
45 >
46 > Dale
47
48 I had this configuration already set:
49 /etc/portage/env/notmpfs.conf
50 PORTAGE_TMPDIR="/var/tmp/notmpfs"
51
52 /etc/portage/package.env
53 mail-client/thunderbird notmpfs.conf
54 www-client/firefox notmpfs.conf
55
56 What was missing was only directory:
57 /var/tmp/notmpfs
58
59 I'll remove "tmpfs" from fstab
60
61
62 Thelma.

Replies

Subject Author
Re: [gentoo-user] /var/tmp/notmpfs - does not exist Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] /var/tmp/notmpfs - does not exist Dale <rdalek1967@×××××.com>
Re: [gentoo-user] /var/tmp/notmpfs - does not exist Neil Bothwick <neil@××××××××××.uk>