Serge Hallyn <serge.hal...@canonical.com>
writes:

> Next, upstart's mountall consults /lib/init/fstab.  That's the one
> which will usually prevent container startup from proceeding.  The
> lxcguest package for ubuntu will force upstart to mount an empty
> version of that file before mountall runs.  So if you install lxcguest
> then mountall can safely run, which makes your container safer against
> package updates.

Interesting approach.  IIRC I just

    dpkg-divert --rename /lib/init/fstab
    :> /lib/init/fstab

although I was still having problems (I think mountall was trying to
REmount everything it found in mtab and/or /proc/mounts), so now I drop
mount capability and replace [un]mount with symlinks to /bin/true.


------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to