← Back to team overview

kernel-packages team mailing list archive

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

 

Hi guys,

I've been struggling with similar issue in centos 6.6. In previous version (6.5) everything worked fine, but after update I wasn't able to set socket for ssh control master on overlayfs. I made some tedious research and comparisons and it turned out that it's not about the kernel (made few downgrades) but ssh.
According to https://bugzilla.redhat.com/show_bug.cgi?id=953088 in ssh version included in RHEL 6.6 (and CentOS) there was a patch witch modifies behaviour of creating control socket. When I downgraded ssh packages (openssh{,-clients,-server}) to the version without that patch (5.3p1-94.el6) everything worked like a charm!

I hope it will also help you to solve your problem in Ubuntu.


** Bug watch added: Red Hat Bugzilla #953088
   https://bugzilla.redhat.com/show_bug.cgi?id=953088

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1214500

Title:
  consistent failure with overlayfs and unix sockets

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  Seems like overlayfs and unix sockets are not playing well. It might
  be racy, as it fails consistently on my laptop with an SSD, whereas
  for smoser it only failed a single time.

  Steps to reproduce:

  REL="precise"
  $ sudo lxc-create -n source-$REL-amd64 -t ubuntu-cloud -- \
     --release=$REL --arch=amd64

  ## clone via overlayfs ##
  $ sudo lxc-clone --snapshot -B overlayfs -o source-$REL-amd64 -n $REL-overlayfs-01

  $ sudo lxc-start -n $REL-overlayfs-01

  
  ### inside ###
  $ sudo apt-get update && sudo apt-get install supervisor -y

  $ sudo service supervisor stop
  $ sudo sed -i.dist 's,var/run/*supervisor.sock,srv/supervisor.sock,' /etc/supervisor/supervisord.conf
  $ sudo service supervisor start
  $ sudo supervisorctl maintail
  unix:///srv/supervisor.sock refused connection

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