Bug#310550: locales: locale-gen fails: "cannot lock locale archive"
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.
Reply to: