[Unionfs] UNIX domain sockets fail in RHEL5 patched unionfs

Erez Zadok ezk at cs.sunysb.edu
Tue Mar 10 12:20:47 EDT 2009


In message <f4f856dc0903031620y2e9559c8sa5b65f6bc9780d36 at mail.gmail.com>, Craig Johnston writes:

> We have patched a RHEL5 (5.3) kernel with the latest 2.5.1 unionfs patches.
> We started with the 2.6.18.8 patch set, and modified it until it went into
> RH's heavily modified kernel.  We didn't have to do do much (most remove
> stuff that RH already had).
> 
> In the end, things seem to work Ok except that UNIX domain sockets that are
> created within a unionfs writeable layer do not work.  They can be created
> (nc -lU /var/run/mysocket), but we receive an ECONNREFUSED when the client
> tries to connect (nc -U /var/run/mysocket).
[...]

Craig, I've not heard from others of having problems with domain sockets.
Maybe there's something else in the rhel kernel which is preventing them
from working.  It's also possible that something went wrong during the hand
application of the unionfs patch to the rhel kernel.

Can you send me a tarball with the unmodified rhel5.3 kernel sources, and
your kernel .config file?  I'll apply the unionfs patch carefully and test
it here to ensure that it passes my regression suite, including the tests
for sockets.

Cheers,
Erez.

PS. does anyone know if there's a git repo of the rhel kernel, being kept
somewhere and up-to-date (preferably one that isn't git-rebase'd).  If I had
access to one, it'd be easier for me to keep up-to-date a set of unionfs
patches against the latest rhel kernels (it's a popular request).


More information about the unionfs mailing list