From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ENfoDJ5wQV80AgAA0tVLHw (envelope-from ) for ; Sat, 22 Aug 2020 19:23:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ILnNCJ5wQV8ERgAAB5/wlQ (envelope-from ) for ; Sat, 22 Aug 2020 19:23:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A12AC940390 for ; Sat, 22 Aug 2020 19:23:09 +0000 (UTC) Received: from localhost ([::1]:37234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k9Z6a-0003HG-7n for larch@yhetil.org; Sat, 22 Aug 2020 15:23:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9Z6U-0003H7-Br for bug-guix@gnu.org; Sat, 22 Aug 2020 15:23:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39966) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k9Z6U-0006zU-3E for bug-guix@gnu.org; Sat, 22 Aug 2020 15:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k9Z6T-0003qL-Vg for bug-guix@gnu.org; Sat, 22 Aug 2020 15:23:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42989: Subtle Typo in guix-daemon.service installed by guix-install.sh Resent-From: Michael Gorlick Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 22 Aug 2020 19:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42989 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: leo@famulari.name, 42989@debbugs.gnu.org X-Debbugs-Original-To: Leo Famulari , bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159812415114717 (code B ref -1); Sat, 22 Aug 2020 19:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Aug 2020 19:22:31 +0000 Received: from localhost ([127.0.0.1]:51512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9Z5y-0003pI-Uz for submit@debbugs.gnu.org; Sat, 22 Aug 2020 15:22:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:45134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9Z5x-0003pB-9g for submit@debbugs.gnu.org; Sat, 22 Aug 2020 15:22:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9Z5x-0003Ej-3m for bug-guix@gnu.org; Sat, 22 Aug 2020 15:22:29 -0400 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]:36278) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k9Z5v-0006xf-6y for bug-guix@gnu.org; Sat, 22 Aug 2020 15:22:28 -0400 Received: by mail-lj1-x236.google.com with SMTP id t23so5412757ljc.3 for ; Sat, 22 Aug 2020 12:22:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to; bh=xwRTuN10feVwRrZv7K8fBeeIDyS1l2tEuH6yJDISYdA=; b=Qyud6rgT57Ox04gBXw/rGskEpUN4kKV/PqZNLFQt/ROJj4FzmitJP/XbYUmX3IRZRE Svawe1OGWGYkA443zEDPhO7GDjirgknAvocZLeUjcJ6kRCvKhiuaU8mA0IxjxQfq8Klf JVPsHyKqvHr3TsZ9iptmvwHoQFjCQorBricKI93JKzYBt9EAxwE38HqaaLR+qXgz3FSB iHPD2PuhVeOsHHX+9Wlwml2H1bpR09ci7eSa2CLrBPxptamB8ylnJmPAEBGQp2FHJdOs WEB2CUhkb6Pdq+0nhbIY4Uoym8vYBghG+v1ItcwZQUg5KTFBMdkRtKlbisCzj92CT6Kd oCqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to; bh=xwRTuN10feVwRrZv7K8fBeeIDyS1l2tEuH6yJDISYdA=; b=VVS422DLyzfKwmodwqunLy/198pYLKcvlVtbLarhlDSCO/ZagjFvfcRhwERX34ANGq YGA25xgMIsZa/z52vdpwev+b4o6FhOOOhrVCWbOsKPYmYDVeuek/6dmTResToPACw/Lp E3+eb+Q8T65QazTuJlx8xiwxjFHehISxDVhD6cgdaOey3lUuFVjn0MXHsCoClllgIKyL WlDb4SJTisuNh6W4XmbzAryamDcBCi0cRPKUKti1efZFZ/nKE298GMP06TA3J/DhQ3aN 0TzKSUvH/Y2Nrz9bO5XtK1rQ3/0FiMsg9gkcqeUTXbefS1v73fC75R+kWdrZarjFVyGm r74A== X-Gm-Message-State: AOAM531P/HDsR3+vGLhnR/ti5oLpJ7lChdC7GbFR14D1HGanKZfcpeV9 A8wP8TBH7ymyVpd3xGOVDy3qBO2/2w1i7kRnVd8= X-Google-Smtp-Source: ABdhPJzZtIIKenXYt8T8sk6L5jyriYu1EdmJCEl8nXeLHfglHdnK6O0zfaH+lzh3rntG/fQ/DkdPnEF0hBIQ9wCswnY= X-Received: by 2002:a2e:3312:: with SMTP id d18mr4028467ljc.222.1598124145174; Sat, 22 Aug 2020 12:22:25 -0700 (PDT) MIME-Version: 1.0 References: <20200822170636.GA10275@jasmine.lan> <7fdbeb59-df88-49ff-9eb0-f9799c54db7f@www.fastmail.com> In-Reply-To: <7fdbeb59-df88-49ff-9eb0-f9799c54db7f@www.fastmail.com> From: Michael Gorlick Date: Sat, 22 Aug 2020 12:22:13 -0700 Message-ID: Content-Type: multipart/alternative; boundary="000000000000faf03005ad7c4566" Received-SPF: pass client-ip=2a00:1450:4864:20::236; envelope-from=michael.m.gorlick@gmail.com; helo=mail-lj1-x236.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.6 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.6 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: mgorlick@acm.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=Qyud6rgT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 2.59 X-TUID: jUwh67UfpJ4T --000000000000faf03005ad7c4566 Content-Type: text/plain; charset="UTF-8" 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 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 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. > > > --000000000000faf03005ad7c4566 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
You are right and the confusion is m= ine. The reason the error messages disappeared is that thanks to a "gu= ix pull", a "guix upgrade", and a "guix install glibc-u= tf8-locales" on user "root" I now have the latest version of= the utf8-locales, 2.31, installed at /var/guix/profiles/per-user/root/g= uix-profile/lib/locale.

Sorry for the b= other. However, judging by prior discussions not everyone understands that = the build daemons rely in this way on the guix-profile of the root. It woul= d help if the documentation pointed out this common misunderstanding and ex= plicitly advised users on foreign distributions to pull and upgrade the roo= t profile regularly.


On Sat, Aug 22, = 2020 at 10:30 AM Leo Famulari <leo@= famulari.name> wrote:
Can you reply to the bug tracker?

In any case, "~root" is a different directory t= han "/var/guix/profiles/per-user/root", and the guix-profile dire= ctory is named differently in each location.

O= n Sat, Aug 22, 2020, at 13:10, Michael Gorlick wrote:
A= u contraire.

$ sudo -i ls -a ~root
. =C2=A0.. =C2=A0.bash_history =C2=A0.bashrc =C2=A0.cache =C2=A0.co= nfig .gnupg .guix-profile =C2=A0.local =C2=A0.profile =C2=A0.wget-hsts
<= /div>

On Sat, Aug 22, 2020 = at 10:06 AM Leo Famulari <leo@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.ser= vice* installed on
> Ubuntu 20.04 by the guix-install.sh = script.
> The text of */root/.config/guix/current/lib/sys= temd/system/guix-daemon.service
> *contains the text:
=
>
> Environment=3D'GUIX_LOCPATH=3D/va= r/guix/profiles/per-user/root/guix-profile/lib/locale'
&= gt; LC_ALL=3Den_US.utf8
>
> The portio= n .../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" direct= ory in this location.

--000000000000faf03005ad7c4566--