Bug#386945: [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
Sat Sep 16 15:49:18 UTC 2006
[Henrique de Moraes Holschuh]
> 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?
They are created when initscripts is installed, by remounting / to
avoid any /var/ mounts, and creating the directories there.
> 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.
Yes, we can't create them at boot time, so they are created when the
package is installed instead. :)
> 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.
Why? I suspect you should have a look at the changes. It seem
perfectly safe to me. The only problem is with partial upgrades and
packages expecting persistense in /var/run/ and /var/lock/.
Friendly,
--
Petter Reinholdtsen
More information about the Pkg-sysvinit-devel
mailing list