Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] /dev/shm mode 1777
Date: Sat, 04 Oct 2014 02:22:49
Message-Id: 20141004022250.GA1792@syscon7
1 I'm getting an error message during emerge:
2 * configure has detected that the sem_open function is broken.
3 * Please ensure that /dev/shm is mounted as a tmpfs with mode 1777.
4 * ERROR: dev-lang/python-3.3.5-r1::gentoo failed (configure phase):
5
6 my /dev/shm is mounted as
7 drwxr-xr-x 17 root root 4020 Oct 3 08:57 shm
8
9 and it should be:
10 drwxrwxrwt 2 root root 100 Sep 29 09:25 shm
11
12 I've already change in fstab:
13 from:
14 shm /dev/shm devtmpfs nodev,nosuid,noexec 0 0
15
16 to:
17 shm /dev/shm tmpfs defaults,nodev,nosuid,mode=1777 0 0
18
19 Is it OK to run:
20 umount shm
21 mount shm
22
23 This is a remount system, so I want to make sure I'm not making a mistake.
24
25 --
26 Joseph

Replies

Subject Author
Re: [gentoo-user] /dev/shm mode 1777 Mike Gilbert <floppym@g.o>