[Unionfs] UNIX domain sockets fail in RHEL5 patched unionfs

Ian Kent raven at themaw.net
Wed Mar 11 22:44:52 EDT 2009


Erez Zadok wrote:
> 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).

So what did you have to do?

Last time I tried to patch a RHEL kernel with what I thought was the 
latest RHEL unionfs kernel patch I ended up with a panic. I haven't 
returned to try and work out what the problem was as I haven't had time.

>>
>> 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).

> _______________________________________________
> unionfs mailing list: http://unionfs.filesystems.org/
> unionfs at mail.fsl.cs.sunysb.edu
> http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs



More information about the unionfs mailing list