[Pkg-sysvinit-devel] Bug#708934: how to avoid all mounts for LXC systems?

Roger Leigh rleigh at codelibre.net
Sun May 19 14:20:25 UTC 2013


On Sun, May 19, 2013 at 04:13:43PM +0200, Harald Dunkel wrote:
> For LXC systems all mounts are supposed to happen _before_
> init is run. Every mount tried by one of the run level scripts
> creates a "permission denied" error message.
> 
> Below is a sample boot session showing startup and shutdown
> of a LXC system (CONCURRENCY=none).
> 
> The problem is that I cannot disable the "unwanted" scripts
> performing the mount, because I would loose other initialization
> steps as well.
> 
> It would be very nice if the run level scripts doing mount/\
> umount could be streamlined to support LXC systems.

If the scripts should be no-ops when lxc is in use, then this
should be fairly straightforward to cater for.  How do we detect
unambigiously if lxc is in use?

I'll be happy to review any apply any patches which improve lxc
support.


Thanks,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800



More information about the Pkg-sysvinit-devel mailing list