[Bug 951150] [NEW] lxc-start-ephemeral is not all ephemeral
Gary Poster
gary.poster at canonical.com
Fri Mar 9 21:22:44 UTC 2012
Public bug reported:
The directories mounted both using the ephemeral's fstab and using -b
are not ephemeral. Changes to them persist on the filesystem, and are
thus shared across other ephemeral instances that mount the same
directories.
We have a branch that addresses this concern. We took the approach that
-b should bind ephemeral directories; *and* if the destination directory
is in the ephemeral's inherited fstab, we disable that mount from the
fstab.
Thus, if a base container's fstab mounts proc, sys, and /home/gary, and
you pass "-b /home/gary" to lxc-start-ephemeral, /home/gary will be
mounted as an ephemeral, local copy; otherwise, without the -b, the
fstab entry will be mounted as usual, and /home/gary will be persisted
and shared.
** Affects: lxc (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/951150
Title:
lxc-start-ephemeral is not all ephemeral
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/951150/+subscriptions
More information about the Ubuntu-server-bugs
mailing list