Based on the overlayfs maintainer Miklos Szeredi's email [1], I think probably this issue won't be fixed in overlayfs very recently. So I agree to add this workaround in lxc-start-ephemeral. Please find my patch attached for review. it is against to latest lxc-start-ephemeral in Quantal.
[1]: https://lists.ubuntu.com/archives/kernel- team/2012-August/021588.html ** Patch added: "rootfs_prefix.patch" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/959352/+attachment/3260345/+files/rootfs_prefix.patch -- 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/959352 Title: Ephemeral containers have "/rootfs" prefix in /proc/self/maps entries To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/959352/+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