grep shm /etc/fstab shm /dev/shm tmpfs exec,size=3G 0 0 mount|grep shm shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec) grep shm /etc/make.conf PORTAGE_TMPFS="/dev/shm" PORTAGE_TMPDIR="/dev/shm" BUILD_PREFIX="/dev/shm" and the result is: portage complaining about not being to emerge anything, since exec is denied on shm: emerge output: please make sure that portage can execute files in this directory. is it since i upgraded to sys-apps/openrc-0.3.0-r1? i'm not sure. i usually do a mount -oremount /dev/shm , i get the fstab mount options, and portage works Reproducible: Always
Yes, I was bitten by that as well. I was able to fix it by making this change: -shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 +/dev/shm /dev/shm tmpfs nodev 0 0 It probably should be documented somewhere.
(In reply to comment #1) > Yes, I was bitten by that as well. I was able to fix it by making this change: > > -shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 > +/dev/shm /dev/shm tmpfs nodev 0 0 Forgot to write that the relevant bit is "/dev/shm" instead of plain "shm", which apparently isn't recognised.
Should be fixed with this patch. http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commitdiff;h=d99416dd5246425e2f4a22cfde95e3de32b34c40
This should be in 0.4.3 by now, right? I can't find it in the svn repo.
(In reply to comment #4) > This should be in 0.4.3 by now, right? I can't find it in the svn repo. http://roy.marples.name/projects/openrc/changeset/1406/trunk