Comment 5 for bug 1214500

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

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