[Pkg-sysvinit-devel] Allowing the exec flag for /dev/shm/ until
etch is released?
Petter Reinholdtsen
pere at hungry.com
Mon Sep 11 09:34:46 UTC 2006
As you probably have noticed in bug #386945, User Mode Linux fail to
run when /dev/shm/ is mounted noexec. We should ask them to fix it,
but at the moment we have no alternative tmpfs file system for it to
use. ifupdown is also storing stuff in /dev/shm/, but get away with
it as it is only creating normal files. As I see it, we have two
options:
- Drop the noexec flag from /dev/shm/ until etch is released, and
come up with a solution post-etch.
- Make some other tmpfs instead of /dev/shm/ available in time for
etch. This was discussed on debian-devel@ a while back, and no
conclusion was reached. /run/ and /lib/run was proposed. My
favorite is /lib/run/, to hide it away from /.
I suspect we will need to provide the second option sooner or later,
and would prefer it to be available in etch. I plan to switch to
tmpfs for /var/run/ and /var/lock/ after etch, and I guess /var/run/
could be bind-mounted from /lib/run/ when /var/ is mounted, to avoid
having too many tmpfs file systems around. Or perhaps making
/var/run/ and /var/lock/ subdirectories in the /lib/run/ directory?
Any comments or other suggestions?
Friendly,
--
Petter Reinholdtsen
More information about the Pkg-sysvinit-devel
mailing list