I tried the following:

# Install the 3.13 kernel and also an affected version of lxc.
lxc-create -t download -n trusty -- -d ubuntu -r trusty -a amd64;
touch $HOME/test.txt;
echo "lxc.mount.entry = $HOME/test.txt home/ubuntu/test.txt none 
bind,create=file 0 0" >> $HOME/.local/share/lxc/trusty/config;
lxc-clone -s -B overlayfs trusty trusty_overlay;
lxc-start -n trusty_overlay; # fails to start

In a clean and fully updated Trusty VM and could not reproduce the issue with 
the trusty version of the packages. 
ii  lxc                              1.0.7-0ubuntu0.7                 amd64     
   Linux Containers userspace tools

I also tried the stable version of LXC 
(https://launchpad.net/~ubuntu-lxc/+archive/ubuntu/lxc-stable) and was able to 
get this working.
ii  lxc                              1.1.4-0ubuntu1~ubuntu14.04.1~ppa1 amd64    
    Linux Containers userspace tools

So seems to be fixed in 1.1.4, and I suspect this commit fixes the issue:
commit e228426cf483dc6a406276550b9cc7222e7c2602
Author: Serge Hallyn <serge.hal...@ubuntu.com>
Date:   Mon Sep 21 17:09:25 2015 +0000

    overlayfs_mount: create delta dir if it doesn't exist


Can you re-test with 1.1.4 and see if that fixes the issue? Thanks,
--chris

** This bug is no longer a duplicate of bug 1479468
   OverlayFS: Wrong mnt_id and path reported in /proc

** Changed in: lxc (Ubuntu)
       Status: New => Incomplete

** Changed in: linux (Ubuntu)
       Status: Confirmed => Incomplete

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

Title:
  OverlayFS: Wrong mnt_id and path reported in /proc in linux-3.13

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1507463/+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

Reply via email to