Re: ORBit-like /tmp functions

Le jeu 05/08/2004 à 09:48, Havoc Pennington a écrit :
> On Wed, 2004-08-04 at 03:28, Frederic Crozat wrote:
> > 
> > Well, for Mdk, I've been forced to move TMPDIR for gconf from $HOME/tmp
> > (ie $TMPDIR) to /tmp otherwise gconf was failing for users with home on
> > NFS with multiple logins (it is a known problem, IIRC).
> Yes it's a known problem, that's why upstream gconf already uses /tmp
> ;-) (and in previous releases had an env variable GCONF_LOCAL_LOCKS=1 to
> force use of /tmp)

I've just checked code again and it is wrong : it is using g_get_tmp_dir
which is reading TMP or TMPDIR variable, which is often set to
$HOME/tmp, so you end up with locks on NFS :((

Frederic Crozat <fcrozat mandrakesoft com>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]