GNU bug report logs - #42989
Subtle Typo in guix-daemon.service installed by guix-install.sh

Previous Next

Package: guix;

Reported by: mgorlick <at> acm.org

Date: Sat, 22 Aug 2020 16:47:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Michael Gorlick <michael.m.gorlick <at> gmail.com>
To: Leo Famulari <leo <at> famulari.name>, bug-guix <at> gnu.org
Subject: Re: bug#42989: Subtle Typo in guix-daemon.service installed by
 guix-install.sh
Date: Sat, 22 Aug 2020 12:22:13 -0700
[Message part 1 (text/plain, inline)]
You are right and the confusion is mine. The reason the error messages
disappeared is that thanks to a "guix pull", a "guix upgrade", and a "guix
install glibc-utf8-locales" on user "root" I now have the latest version of
the utf8-locales, 2.31, installed at
*/var/guix/profiles/per-user/root/guix-profile/lib/locale.*

Sorry for the bother. However, judging by prior discussions not everyone
understands that the build daemons rely in this way on the guix-profile of
the root. It would help if the documentation pointed out this common
misunderstanding and explicitly advised users on foreign distributions to
pull and upgrade the root profile regularly.


On Sat, Aug 22, 2020 at 10:30 AM Leo Famulari <leo <at> famulari.name> wrote:

> Can you reply to the bug tracker?
>
> In any case, "~root" is a different directory than
> "/var/guix/profiles/per-user/root", and the guix-profile directory is named
> differently in each location.
>
> On Sat, Aug 22, 2020, at 13:10, Michael Gorlick wrote:
>
> Au contraire.
>
> $ sudo -i ls -a ~root
> .  ..  .bash_history  .bashrc  .cache  .config .gnupg .guix-profile
>  .local  .profile  .wget-hsts
>
> On Sat, Aug 22, 2020 at 10:06 AM Leo Famulari <leo <at> famulari.name> wrote:
>
> On Sat, Aug 22, 2020 at 09:46:05AM -0700, Michael Gorlick wrote:
> > There is a wee typo in the systemd file *guix-daemon.service* installed
> on
> > Ubuntu 20.04 by the guix-install.sh script.
> > The text of
> */root/.config/guix/current/lib/systemd/system/guix-daemon.service
> > *contains the text:
> >
> >
> Environment='GUIX_LOCPATH=/var/guix/profiles/per-user/root/guix-profile/lib/locale'
> > LC_ALL=en_US.utf8
> >
> > The portion .../guix-profile/... should read .../*.guix-profile/*..., in
> > other words the path as given omits the requisite single period (.) as
> the
> > prefix of the directory .guix-profile.
>
> In my experience, the path as shown in your example is correct. The
> directory is not a "hidden" directory in this location.
>
>
>
[Message part 2 (text/html, inline)]

This bug report was last modified 2 years and 363 days ago.

Previous Next


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