[Bug 986385] Re: lxc.mount.entry fails into mnt/subdir

Serge Hallyn 986385 at bugs.launchpad.net
Sun Apr 22 14:19:40 UTC 2012


The reason this happens is that by default 'mnt' is the directory used
as pivotdir, where the old_root is placed during pivot_root().  After
that, everything under pivotdir is unmounted.

A workaround is to specify an alternate 'lxc.pivotdir' in the container
configuration file.

The code should be changed to use a tempdir as pivotroot.  However, that
can wait for Q and an SRU, since there is a workaround

** Changed in: lxc (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: lxc (Ubuntu)
   Importance: Medium => Low

-- 
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/986385

Title:
  lxc.mount.entry fails into mnt/subdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/986385/+subscriptions



More information about the Ubuntu-server-bugs mailing list