GNU bug report logs - #40123
glibc-locales: links missing in root user profile

Previous Next

Package: guix;

Reported by: mikael <at> djurfeldt.com

Date: Wed, 18 Mar 2020 17:52:01 UTC

Severity: normal

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 40123 <at> debbugs.gnu.org (full text, mbox):

From: Mikael Djurfeldt <mikael <at> djurfeldt.com>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: Mikael Djurfeldt <mikael <at> djurfeldt.com>, 40123 <at> debbugs.gnu.org
Subject: Re: bug#40123: glibc-locales: links missing in root user profile
Date: Wed, 18 Mar 2020 19:29:03 +0100
[Message part 1 (text/plain, inline)]
On Wed, Mar 18, 2020 at 7:18 PM Marius Bakke <mbakke <at> fastmail.com> wrote:

> Tje Mikael,
>
> Mikael Djurfeldt <mikael <at> djurfeldt.com> writes:
>
> > To reproduce the bug:
> >
> > * install guix on top of an ordinary linux distribution using the install
> > script at guix.gnu.org
> >
> > * install glibc-locales as root
> >
> > Expected:
> >
> > There should be a link ~root/.guix-profile/lib/locales
>
> That should be ~root/.guix-profile/lib/locale (note the singular).
>

Right (just misspelled in the bug report).


> This directory actually comes pre-populated with a small subset of UTF-8
> locales when using the binary installation method like the script does,
> so it's odd if you don't find anything there.
>

I think so too. (But it's not true that it is a small subset of UTF-8
locales. It's a big package with several types of locale.)

>
> Which distribution are you on,


Debian Buster


> and how do you become root?


sudo -i


>   Is the $HOME
> variable set to root's home directory when you are in a root shell?
>

Yes.

To figure out where the package gets installed, try running this
> command:
>
> find /var/guix/profiles -name sv_SE.utf8 -type d
>

It's obvious that that line will produce an empty result. That is because
the sv_SE.utf8 directory only exists in the store. But I don't see the
point of looking it up in the store. The problem is that the link into the
store from the root user profile is never created. (It *is* created in
other user profiles.)

Best regards,
Mikael
[Message part 2 (text/html, inline)]

This bug report was last modified 5 years and 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.