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

Bug#310550: locales: locale-gen fails: "cannot lock locale archive"



At Wed, 01 Jun 2005 02:51:46 +0300,
Lars Wirzenius wrote:
> ti, 2005-05-24 kello 12:11 +0200, Rolf Leggewie kirjoitti:
> > for some reason I do not fully understand locale-gen fails on my system.  
> > The only thing unusual in this respect is that /usr is mounted over NFS 
> > (usually ro, but set to rw before calling locale-gen).  no-root-squash 
> > is set for the exported directory corresponding to /usr.  Here is the 
> > output.
> > 
> > # locale-gen 
> > Generating locales...
> >   de_DE.ISO-8859-1... done
> >   de_DE.UTF-8@euro...cannot lock locale archive 
> > "/usr/lib/locale/locale-archive": Permission denied
> 
> locale-gen calls localedef, which uses lockf64 for file locking. I don't
> know if it is supposed to work over NFS, but it might be a likely
> culprit to investigate.

Indeed.  Rolf, are your NFS lock server and NFS client working
correctly?  Or, setting mount option "mount -t nfs -o nolock" could
help you.

Regards,
-- gotom



Reply to: