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

Serge Hallyn 1214500 at bugs.launchpad.net
Tue Aug 20 19:59:08 UTC 2013


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 chown -R ubuntu: /mnt
./serv.py /mnt/sock &
./client.py /mnt/sock

Traceback (most recent call last):
  File "./client.py", line 7, in <module>
    s.connect(socketname)
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 111] Connection refused

-- 
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 and unix sockets

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



More information about the Ubuntu-server-bugs mailing list