[Bug 959352] Re: Ephemeral containers have "/rootfs" prefix in /proc/self/maps entries
Serge Hallyn
959352 at bugs.launchpad.net
Tue Aug 14 13:15:41 UTC 2012
The following actually seems to work. Instead of using an overlayfs for
all of /var/lib/lxc/q1-tmp-XXXXX, it only uses the overlayfs mount for
/var/lib/lxc/q1-tmp-XXXXXX/rootfs. That way, as per Miklos' comment,
/proc/self/fd and /proc/self/maps contents are resolved relative to the
overlayfs root the same way as relative to the container rootfs.
Won't help for userspace inside the container which does
chroot/pivot_root, but for a simple container it solves the bug for me.
** Patch added: "lxc-maps.debdiff"
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/959352/+attachment/3260628/+files/lxc-maps.debdiff
--
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
More information about the Ubuntu-server-bugs
mailing list