From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: Re: Archive authentication & =?utf-8?Q?=E2=80=98guix_challenge?= =?utf-8?Q?=E2=80=99?= Date: Tue, 14 Feb 2017 09:43:03 -0800 Message-ID: <87efz03byw.fsf@gmail.com> References: <8737goz2ba.fsf@gnu.org> <8660kud3u4.fsf@gmail.com> <874m03z5h2.fsf_-_@gnu.org> <86o9y9fybz.fsf@gmail.com> <87shnk3iib.fsf@gnu.org> <87y3xa4z08.fsf@gmail.com> <8760kefaoc.fsf@gnu.org> <864lzy10b9.fsf@gmail.com> <87vasduo0h.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdh82-0004Gc-Vu for guix-devel@gnu.org; Tue, 14 Feb 2017 12:43:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cdh81-0004jW-Oq for guix-devel@gnu.org; Tue, 14 Feb 2017 12:43:02 -0500 In-Reply-To: <87vasduo0h.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 14 Feb 2017 10:20:46 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org, myglc2 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi George and Ludovic, ludo@gnu.org (Ludovic Court=C3=A8s) writes: [...] > > =E2=80=98guix pull=E2=80=99 preserves your (guix config) module. So if t= he =E2=80=98guix=E2=80=99 you > run was configured to use /etc, it=E2=80=99ll keep using that; if it was > configured to use /usr/local/etc, it=E2=80=99ll keep using that. > > If you run =E2=80=9C./pre-inst-env guix pull=E2=80=9D, then you end up us= ing (guix > config) from your build tree, which is configured to use /usr/local/etc > by default. That=E2=80=99s probably what happened, no? > I ran guix pull initially (before starting to use a git checkout). And I remember mistakenly running "guix pull" from my guix checkout, which if I followed your explanation would have caused (guix config) to point to /usr/local/etc. So that seems like a plausible explication! I guess in the newer Guix releases the default path has been fixed (to /etc)? > To fix it, you can either run: > > rm -f ~/.config/guix/latest && guix pull > > or just do: > > ./configure --sysconfdir=3D/etc > I ran ./configure --localstatedir=3D/var --sysconfig=3D/etc && make, and I can now confirm that it fixed it: guile -c "(use-modules (guix config)) (pk %config-directory)" ;;; ("/etc/guix") I also checked that: sudo guix archive --authorize < bayfront.guixsd.org.pub Produced an entry in /etc/guix/acl. George, as an alternative, you might be interested in declaring the extra key in your system's config.scm file [0]. Thanks for the help, Ludovic! Maxim [0] https://lists.gnu.org/archive/html/guix-devel/2017-01/msg01746.html --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJ9WGpPiQCFQyn/CfEmDkZILmNWIFAlijQacACgkQEmDkZILm NWLmBxAAiA9qqpyQk+M6d0bt4UwfxcvXMEET7DC5Z9eb4uM66RIiuyb0d7WFOiaY enzVL0CEG81DeQyTq939eJf14cpEnxvtkcJSLkriFQx0qBgVORrXL3ts/mNgJYHj bZ4b5g1E9DD+QIyDmI0XBXN9K2iDxV2LnCV5G5RsIWLjttDMQE+exoTqLEqPVeO4 vAHLDyd3Pi73i8IZaX/Jj74nrJD60qtOq36ai1NANFd2Sec7VSlTL6lgkeA6nyvL FJC2acb9SeffuXpFpycydLJ84JuFS0CgGEKFbG3d9xTsbF6wQGBE2TuBoFvkmW4b ehuukEhXWIz2lMXSF3fVshvwgIzZev2rpUhSG1Z4iTQFoEqeSIRVGk8ImSUq6IF+ ti6Cp0zcIvY1ulWpdRM7Vc+ZeAaUZ4yh71lynFH97kg/DU/R4bJOLUv19Ht4O1Ll e37YWzWktsqx1aUASdTh7+NWIIaF1nJpf4Gm2DG9SQSWKwCu1HDrcYfcd3fqGfTR /ct7wxpPHaJ1vWH0Li3UNzS06EpAURa5/Ttd8KsbECdFWC+u3ezj0gWxokVUtOOO +2KPlJRYd2cFvk7crpJGagsMWToMDm0vbP4npmFNtoPvU4ye34+DiKiKAcCZ5hSm Df3Pwdu+UmEUmhM2H4rr5Rr2xSZ5OoiZlKbJm6xIrakW7EFQQlk= =qpL0 -----END PGP SIGNATURE----- --=-=-=--