[Bug 959352] Re: Ephemeral containers have "/rootfs" prefix in /proc/self/maps entries

Gary Poster gary.poster at canonical.com
Wed Mar 21 00:30:34 UTC 2012


We are discovering that this, or something very similar to it, is
serious.  For our own use, at least, I'd raise this to high (we don't
have privileges to do so).

According to lsof, many, many processes (sshd, upstart, init, ntpd,
etc., as well as processes we start directly such as xvfb-run and our
own code are looking in the wrong place (/rootfs/...) for important and
sometimes essential files, including /rootfs/dev/random,
/rootfs/dev/null, /rootfs/lib/tls ... , /rootfs/lib/security... ,
/rootfs/lib/libdbus-1.so.3.4.0, /rootfs/lib/libcom_err.so.2.1,
/rootfs/usr/lib/libkrb5.so.3.3, and so on.

We could maybe make symlinks for /rootfs/usr, /rootfs/lib, and
/rootfs/dev but that feels like we're going too far, and that we really
ought to address this.

I'm not sure where to look to fix this.  Is there something else
important we are missing from lxc-clone?  Help would be very
appreciated.

Thank you

-- 
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/lxc/+bug/959352/+subscriptions



More information about the Ubuntu-server-bugs mailing list