[Dovecot] Re: Bug? 1.0.0-test28 NFS locking problems

Matthias Andree matthias.andree at gmx.de
Fri Jul 23 18:39:48 EEST 2004


Tim Southerwood <ts at doc.ic.ac.uk> writes:

> I beg to differ - at least it looks like there *was* a bug which may
> have been cleared by a patch that you have that we don't. I'll pass this
> to our Solaris admin. Also, I have turned up quite a lot of problems
> with F_SETLKW on the samba lists - seems to be a common problem with
> Solaris servers. I'll have a look on the Sun lists and see if there is a
> patch specifically for this.

OK, that site isn't running services such as Samba on Solaris - the
boxen are somewhat oldish low-end Ultra 5 machines with single
UltraSPARC IIi 333 and 400. Nothing you want to run servers on if you
have a Xeon 2.8 or a Dual Athlon MP in the next rack. :)

> 1) It's not dovecot's fault, which is fair, and this bug should be
> dropped as not a bug.
>
> 2) It's not really a bug with dovecot, but if F_SETLKW fails, dovecot
> should fall back to something involving F_SETLK.
>
> I prefer number 2) as a user as it's clear to me that there is some
> brokenness on NFS servers in the world and it would be to the greater
> good if dovecot were more forgiving.

Number 2 is a bit disputable, because the OS is supposed to behave, and
it is more sensible to fix the cause rather than implement workarounds
in 1000+1 applications. 

-- 
Matthias Andree

Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred)




More information about the dovecot mailing list