[lxc-devel] [lxc/lxc] 01dae5: lxc-start-ephemeral: Fix broken mount logic
GitHub
noreply at github.com
Fri Oct 18 18:33:48 UTC 2013
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 01dae5c455f77fe11c5902f899885eddecd84514
https://github.com/lxc/lxc/commit/01dae5c455f77fe11c5902f899885eddecd84514
Author: Stéphane Graber <stgraber at ubuntu.com>
Date: 2013-10-18 (Fri, 18 Oct 2013)
Changed paths:
M src/lxc/lxc-start-ephemeral.in
Log Message:
-----------
lxc-start-ephemeral: Fix broken mount logic
This reworks the mount logic for lxc-start-ephemeral to be as follow:
- Any real (non-bind) entry gets copied to the target fstab
- Any bind-mount from a virtual fs gets copied to the target fstab
- Any remaining bind-mount if confirmed to be valid gets setup as an
overlay.
Extra bind-mounts passed through the -b option are mounted by the
pre-mount script and don't need processing by the fstab generator.
Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
More information about the lxc-devel
mailing list