AIO, SMB2 and Samba 3.6

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Feb 23 01:14:22 MST 2012


On Thu, Feb 23, 2012 at 12:05:50AM -0800, Jeremy Allison wrote:
> > Something is really fishy with the glibc aio implementation
> > on your system. I would think the EPERM is a problem. If you
> > really need this solved, we need to dig into glibc I think.
> > Alternatively, you might try the aio_pthread module.
> 
> Isn't this the signal race that tridge found with
> glibc aio users that change uid whilst an aio is
> outstanding ? When smbd goes back to the root user
> for the whole process then the Linux thread that finishes
> doing the aio doesn't have permissions to send the
> signal the io is finished.

That sounds like what we see here. Is there a patch to glibc
available?

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list