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

Henrique de Moraes Holschuh hmh at debian.org
Mon Sep 11 14:51:22 UTC 2006


On Mon, 11 Sep 2006, Petter Reinholdtsen wrote:
> [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

Depends on what it is doing... dosemu wanted to use PROT_EXEC, maybe that's
the case with UML too?

I won't claim to know enough about sysv shared mem to know whether such
usage (whatever UML does, and what DOSEMU is doing) is sane, though.

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

I am quite sure of it.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh




More information about the Pkg-sysvinit-devel mailing list