Activity log for bug #986385

Date Who What changed Old value New value Message
2012-04-20 21:09:35 Serge Hallyn bug added bug
2012-04-20 21:09:46 Serge Hallyn lxc (Ubuntu): status New Confirmed
2012-04-20 21:09:50 Serge Hallyn lxc (Ubuntu): importance Undecided Medium
2012-04-22 14:17:12 Serge Hallyn lxc (Ubuntu): status Confirmed Triaged
2012-04-22 14:17:16 Serge Hallyn lxc (Ubuntu): importance Medium Low
2012-05-29 21:00:15 Launchpad Janitor lxc (Ubuntu): status Triaged Fix Released
2012-05-29 21:11:17 Launchpad Janitor branch linked lp:ubuntu/lxc
2012-06-12 01:19:23 Serge Hallyn nominated for series Ubuntu Precise
2012-06-12 01:19:23 Serge Hallyn bug task added lxc (Ubuntu Precise)
2012-06-12 01:25:00 Serge Hallyn description A lxc.mount.entry line like lxc.mount.entry = /var/lib mnt/series none bind 0 0 fails to mount the host's /var/lib under the container's /mnt/series, while lxc.mount.entry = /var/lib mnt none bind 0 0 works. =========== SRU Justification =============== Impact: containers configured to have host directories bind mounted under subdirectories of /mnt will not see those mounts Development fix: change the directory which lxc uses (in ubuntu templates) for pivot_root from mnt to mnt.putold. Stable fix: same as development fix. Test case: Create a container: sudo apt-get -y install lxc sudo lxc-create -t ubuntu -n p1 Create a bind mount under an /mnt subdir of the container: sudo mkdir -b /var/lib/lxc/p1/rootfs/mnt/etc cat << EOF | sudo tee -a /var/lib/lxc/p1/config lxc.mount.entry = /etc mnt/etc none bind 0 0 EOF Start the container, and look under /mnt sudo lxc-start -n p1 #(log in as user ubuntu, password ubuntu, and do) ls /mnt/etc Regression potential: this simply uses an existing, working lxc configuration variable to use a more sensible location for the pivot_root put_old directory. There should be no regression. ============================================= A lxc.mount.entry line like lxc.mount.entry = /var/lib mnt/series none bind 0 0 fails to mount the host's /var/lib under the container's /mnt/series, while lxc.mount.entry = /var/lib mnt none bind 0 0 works.
2012-06-12 01:25:09 Serge Hallyn bug added subscriber Ubuntu Stable Release Updates Team
2012-06-14 16:16:50 Brian Murray lxc (Ubuntu Precise): status New Fix Committed
2012-06-14 16:16:53 Brian Murray bug added subscriber SRU Verification
2012-06-14 16:16:56 Brian Murray tags verification-needed
2012-06-14 16:40:37 Launchpad Janitor branch linked lp:ubuntu/precise-proposed/lxc
2012-06-25 21:57:36 Stéphane Graber tags verification-needed verification-done
2012-06-26 03:14:11 Launchpad Janitor lxc (Ubuntu Precise): status Fix Committed Fix Released