Re: nfs race condition

From: Nicolas Parpandet
Date: Fri Oct 23 2015 - 04:07:18 EST



>> does anybody have a solution ?
>
> Fix 'crontab' to close before unlinking...
>
> Is this the Debian/Ubuntu crontab program.... it looks a bit like it,
> but this bug was fixed 6 years ago.
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413962

I'm using debian 7, the bug still exist with 3.0pl1-124, this case can be easly solved I think, I'm going to try the debian 8 version.

> Or use a tmpfs for /tmp/ rather than using NFS???

good idea, but mysql create temp files also in /var/lib/mysql (yes there is a tmpdir parameter, but the bug is also present with /var/lib/mysql/#sql files)

>
> NeilBrown
>

Nicolas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/