[Pkg-sysvinit-devel] Bug#386945: initscripts: User Mode Linux (UML) doesn't start because /dev/shm is mounted noexec

Petter Reinholdtsen pere at hungry.com
Mon Sep 11 09:24:03 UTC 2006


[Tim Rühsen]
> The mountdevsubfs.sh init script mounts /dev/shm with the noexec
> flag.  UML (/usr/bin/linux) complains about that and doesn't start.

I suspect this use of /dev/shm/ is really a bug in UML.  /dev/shm/ is
only to be used by the shm_open()-class of functions.  Every other use
of the tmpfs mounted on /dev/shm is a bug.  This is part of the reason
why we changed the privileges for that file system.  Is UML using it
throught the shm* functions?

I suspect we need to provide some other tmpfs for users such as UML
and ifupdown.

Friendly,
-- 
Petter Reinholdtsen




More information about the Pkg-sysvinit-devel mailing list