public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Joseph <syscon780@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] /dev/shm  mode 1777
Date: Fri, 3 Oct 2014 20:22:50 -0600	[thread overview]
Message-ID: <20141004022250.GA1792@syscon7> (raw)

I'm getting an error message during emerge:
 * configure has detected that the sem_open function is broken.
 * Please ensure that /dev/shm is mounted as a tmpfs with mode 1777.
 * ERROR: dev-lang/python-3.3.5-r1::gentoo failed (configure phase):

my /dev/shm is mounted as 
drwxr-xr-x 17 root root          4020 Oct  3 08:57 shm

and it should be:
drwxrwxrwt  2 root root           100 Sep 29 09:25 shm

I've already change in fstab:
from:
shm			/dev/shm	devtmpfs	nodev,nosuid,noexec	0 0

to:
shm 			/dev/shm  	tmpfs 		defaults,nodev,nosuid,mode=1777 0 0

Is it OK to run:
umount shm
mount shm

This is a remount system, so I want to make sure I'm not making a mistake.

-- 
Joseph


             reply	other threads:[~2014-10-04  2:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-04  2:22 Joseph [this message]
2014-10-04  3:00 ` [gentoo-user] /dev/shm mode 1777 Mike Gilbert
2014-10-04  3:42   ` Joseph
2014-10-04  3:48     ` Joseph
2014-10-04 15:43     ` Mike Gilbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141004022250.GA1792@syscon7 \
    --to=syscon780@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox