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

Benji York benji at benjiyork.com
Mon Mar 19 14:51:29 UTC 2012

Public bug reported:

Ephemeral containers (but not non-ephemeral ones) have all of their
/proc/*/maps entries prefixed with "/rootfs".  One problem this causes
is that graphviz uses /proc/self/maps to locate its plugins.  That means
that some of the plugins can not be loaded.

To reproduce the problem with dot, run this command:

    dot -Tcmapx < /dev/null

No output is expected, however because of the bug this output is

    Format: "cmapx" not recognized. Use one of: dia hpgl mif mp pcl pic

A workaround for the problem with graphviz is to make the plugins
available at the path it is expecting:

    mkdir -p /rootfs/usr/lib
    ln -s /usr/lib/graphviz /rootfs/usr/lib/graphviz

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New

You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.

  Ephemeral containers have "/rootfs" prefix in /proc/self/maps entries

To manage notifications about this bug go to:

More information about the Ubuntu-server-bugs mailing list