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
Sat Sep 16 15:44:48 UTC 2006


On Sat, 16 Sep 2006, Henrique de Moraes Holschuh wrote:
> On Sat, 16 Sep 2006, Petter Reinholdtsen wrote:
> > to handle coldplug events.  Because of this, I integrated the patches
> > from ubuntu to mount /var/run and /var/lock/ as tmpfs file systems in
> > mountkernfs.sh, the very first thing to happen during boot.
> 
> I am quite fine with this, as long as a later (initscript-caused) /var mount
> does not shadow them.  It would do away with the immediate need to get
> people to agree on /run or /lib/run or whatever.

I just remembered something: how are you going to make sure there is a
/var/run and /var/lock mountpoint to use on the root filesystem?  If /var is
in a separate partition, they need not (and might not be there).  We cannot
create them either, as something might be mounted in /var during package
install time, AND the root filesystem is read-only at the stage of the
bootstrap process we will need the mountpoints to exist.

We have to use an different mountpoint, one that is guaranteed to exist in
/, and which is guaranteed not to be a symlink or something else that is not
allowed as a mountpoint.  Please revert the mountkernfs.sh changes.

-- 
  "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