[Bug 1214500] Re: consistent failure with overlayfs and unix sockets

2013-08-21 Thread Scott Moser
one simple little test that i see differing results depending on kernel is 'mkfifo foo ln foo bar'. Heres a test script that demos that, and output on precise, raring, saucy (no containers used). == raring: 3.8.0-27-generic == $ ls -ld . drwxrwxrwt 5 root root 4096 Aug 21 19:16 . $ sudo rm -Rf

[Bug 1214500] Re: consistent failure with overlayfs and unix sockets

2013-08-21 Thread Serge Hallyn
** No longer affects: lxc (Ubuntu) ** Changed in: linux (Ubuntu) Status: Incomplete = Confirmed ** Changed in: linux (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 1214500] Re: consistent failure with overlayfs and unix sockets

2013-08-20 Thread Sidnei da Silva
Host: $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu Saucy Salamander (development branch) Release:13.10 Codename: saucy Linux sidnei-laptop 3.11.0-3-generic #6-Ubuntu SMP Mon Aug 19 14:42:35 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux $

[Bug 1214500] Re: consistent failure with overlayfs and unix sockets

2013-08-20 Thread Scott Moser
** Attachment added: client.py: example socket client https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1214500/+attachment/3779837/+files/client.py -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 1214500] Re: consistent failure with overlayfs and unix sockets

2013-08-20 Thread Scott Moser
Attaching 'serv.py' which mimics behavior of supervisor/http.py in supervisor for setting up the socket, and then implements an 'echo' server. client.py is just a simple client to run and show the problem. One would expect to be able to do this: $ ./serv.py /tmp/my-socket $ ./client.py

[Bug 1214500] Re: consistent failure with overlayfs and unix sockets

2013-08-20 Thread Scott Moser
I added 'linux' as this is at very least a change in behavior between 12.04 kernel and saucy kernel. ** Also affects: linux (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

[Bug 1214500] Re: consistent failure with overlayfs and unix sockets

2013-08-20 Thread Serge Hallyn
Regarding creating the socket as a non-root user - did you chown the directory to your user's uid? I have no problem once I've done that in running the server. I have the same issue with the client: sudo mkdir /mnt2 /upper sudo mount -t overlayfs -o lowerdir=/mnt2,upperdir=/upper none /mnt sudo

[Bug 1214500] Re: consistent failure with overlayfs and unix sockets

2013-08-20 Thread Serge Hallyn
Oh, never mind, I see - that's on precise. and yes I get the same result all around. -- 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/1214500 Title: consistent failure with overlayfs