From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#33603: Invalid hash for NSS-Certs Date: Tue, 15 Jan 2019 13:57:55 +0100 Message-ID: <87d0oy13jg.fsf@gnu.org> References: <87pnui8jrq.fsf@posteo.net> <87mupkyz2p.fsf@gnu.org> <874lajnmlp.fsf@kwak.i-did-not-set--mail-host-address--so-tickle-me> <87d0p3a9oi.fsf@gnu.org> <87muo4vuhg.fsf@gmail.com> <878szny69n.fsf@gnu.org> <87imyqqzpk.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:49019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjOJ5-0004z5-CW for bug-guix@gnu.org; Tue, 15 Jan 2019 07:59:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjOJ4-0004bR-MC for bug-guix@gnu.org; Tue, 15 Jan 2019 07:59:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60329) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gjOJ4-0004aB-Ig for bug-guix@gnu.org; Tue, 15 Jan 2019 07:59:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gjOJ4-0001vn-5O for bug-guix@gnu.org; Tue, 15 Jan 2019 07:59:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87imyqqzpk.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 15 Jan 2019 00:03:51 -0500") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Maxim Cournoyer Cc: 33603@debbugs.gnu.org Maxim Cournoyer skribis: > Hello! > > Ludovic Court=C3=A8s writes: > >> Maxim Cournoyer skribis: > > [...] > >>> It's a rather old install (late 2016 -- but kept up-to-date, of course >>> :-)) so there might be remnants from the past? How could I verify in >>> which locale the guix-daemon is running? >> >> You could check /proc/$(pidof guix-daemon)/environ for variables like >> =E2=80=98LC_ALL=E2=80=99. And of course, you can see if =E2=80=98guix s= ubstitute=E2=80=99 emits the >> infamous =E2=80=9Ccan=E2=80=99t install locale=E2=80=9D message. :-) >> >> Regardless, I think =E2=80=98guix substitute=E2=80=99 should ideally be >> locale-insensitive, or it should error out rather than produce files >> with the wrong names. > > The only environment variable(s?) defined for the guix-daemon process on > that machine is: > > $ pidof guix-daemon > 270 > > sudo cat /proc/270/environ > GUIX_LOCPATH=3D/gnu/store/94k5w17z54w25lgp90czdqfv9m4hwzhq-glibc-utf8-loc= ales-2.28/lib/localeLC_ALL=3Den_US.utf8 This is perfect (see commit 7e4bc215098f334bc2a11737f2665dd4992fc2da, which gave you this, fixing the issue we=E2=80=99re talking about on GuixSD= .) So I don=E2=80=99t think this machine has any problem. Perhaps nss-certs w= as installed before the fix above? > I'm not familiar with this systemfs structure, but shouldn't there be a > newline before the LC_ALL=3Den_US.utf8 variable assignment? No, there are actually newlines, try: cat /proc/270/environ | xargs -0 echo HTH, Ludo=E2=80=99.