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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs