From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sM18Nz7YeWHlJwEAgWs5BA (envelope-from ) for ; Thu, 28 Oct 2021 00:52:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SNE1Mz7YeWFFNgAA1q6Kng (envelope-from ) for ; Wed, 27 Oct 2021 22:52:46 +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 6839811152 for ; Thu, 28 Oct 2021 00:52:46 +0200 (CEST) Received: from localhost ([::1]:47452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfrmn-0006KE-9Z for larch@yhetil.org; Wed, 27 Oct 2021 18:52:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfrTi-0007GX-HO for bug-guix@gnu.org; Wed, 27 Oct 2021 18:33:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39251) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfrTi-0003cB-5p for bug-guix@gnu.org; Wed, 27 Oct 2021 18:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mfrTi-0002wZ-3C for bug-guix@gnu.org; Wed, 27 Oct 2021 18:33:02 -0400 Subject: bug#51348: Solved: Exception on `guix install nss-certs` Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Wed, 27 Oct 2021 22:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 51348 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 51348-done@debbugs.gnu.org Mail-Followup-To: 51348@debbugs.gnu.org, julien@lepiller.eu, raimundomartins@protonmail.com Received: via spool by 51348-done@debbugs.gnu.org id=D51348.163537396811288 (code D ref 51348); Wed, 27 Oct 2021 22:33:01 +0000 Received: (at 51348-done) by debbugs.gnu.org; 27 Oct 2021 22:32:48 +0000 Received: from localhost ([127.0.0.1]:50795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfrTU-0002vz-BG for submit@debbugs.gnu.org; Wed, 27 Oct 2021 18:32:48 -0400 Received: from lepiller.eu ([89.234.186.109]:36912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfrTR-0002vo-Gb for 51348-done@debbugs.gnu.org; Wed, 27 Oct 2021 18:32:46 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 21309270; Wed, 27 Oct 2021 22:32:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=PDQUWDyDLo4l FiBGZ+7VFiStPyaSyavPjtnOjeTqg7s=; b=cnmfAEvfIZ02FV3XD9K/Px7A7nEO tl8qNOv1/pb0qiVF2W14+nL4F1/0Fqk+DUGEe9H6oHTcm5E12HTJG9ocDAOr0oRQ Y2patrjCny059ofGoeCSsqyRsR8CldNDELZTziOr+RXDYah/BvGFvKzkVBb+6o1e Ppa0uRKNO+cSKZOpq+54Z16m1qMv5ndMIJBIlJecAzzf3PJWxs7XWHuWSmkGDtU8 1pWc8wEHPFQykzGFIhVei2NyYUK5rgiYJbTLulE9rCN98oAuqHnbNFRfUVcl+ikW GcRTLRY/VM8Hni1AVd5fAIWBAXsHrXGpaw6EuvijVu18tt9zhrPNA2CCxw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 13a32b29 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 27 Oct 2021 22:32:43 +0000 (UTC) Date: Thu, 28 Oct 2021 00:32:39 +0200 From: Julien Lepiller Message-ID: <20211028003239.518a5d9c@tachikoma.lepiller.eu> In-Reply-To: References: X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Raimundo Martins Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635375166; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=oKPi4SWCmxXtYt9hPnBJbY4bdHGAddRVCBQgeSG3Sow=; b=VlLeSK5NGAAkS9aG7iQjzDKdfOv6oGUPqKKmrvNXBRcbN0G1FVmz/tcb7GLAcSJBXW/c5/ VEKpGWDE4tGjCbilfzO34CrtonAtNSiLqndsQbWlorHCHVTGzXC8rsCHOUAsZ/MhTzkV9W Rs3hkJB5aXwsx0BKzZ9kpWQB0DrhRWI0aszJm4D54X8rCjIJTTF42KHqjK9zCGqMi0nJ1e GFpkriix5JUEZJeiPk5J9aj2Cmfm7ZWp9H0KdUQdlwgOUs+1czmzscMTui0ZDfg9eBqWDE AhQSRA0SFeXNzrT3/dn+3zXQK48sHZRlMSPp6TfxoyiBnzKyHEi2zzeFDxVlOA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635375166; a=rsa-sha256; cv=none; b=gb/vENpT7+fdvN32wR3DflD1yAL9NZk3GCRltZ09zC4emeDDUdo0gc/JGikv9A0y9YK3HZ MdfB7S8PGJtOxgAvnqyYGqeAzoQm+H4n/b8I/bidxyP1zcH03Ar4naohL+mPNpLlQH0w5j aGaqRki8JXNTddJEo/8RXtS5cFpO0ssCIndm/Ypfzsxnu8w+J9tpGaDAe0Gm3idU0DpPIw 30ROWLpn0BfdvzRi2wN11pWuXDmMDeXZBnMbrBQvtwVhYXXONv0EFmbqoETzAUC3BJP5ae 4YwiitsGgGElvg0y2o9zhzXMCkdP1Yaer3Ckc04G8/YYlkfhHlV24GE0vwcbfQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=cnmfAEvf; 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-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=cnmfAEvf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (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-Migadu-Queue-Id: 6839811152 X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1Z2bzpua38kQ Le Mon, 25 Oct 2021 21:15:23 +0000, Raimundo Martins via Bug reports for GNU Guix a =C3=A9crit : > Hey! >=20 > Turns out that, since I use the runit init system, GUIX_LOCPATH > wasn't being set anytime before guix-daemon started, since > /etc/profile.d/guix.sh was not sourced. As a fix I set that variable > by hand in my init script. If you want to have runit as a known init > system in the installer script, I suggest adding to chk_init_sys() >=20 > elif $(runit 2>/dev/null; [ $? =3D 111 ]); then > _msg "${INF}init system is: runit" > INIT_SYS=3D"runit" > return 0 >=20 > and to the case in sys_enable_guix_daemon() >=20 > runit) > mkdir /etc/sv/guix-daemon > echo "#!/bin/sh > GUIX_LOCPATH=3D/var/guix/profiles/per-user/root/guix-profile/lib/locale > exec /var/guix/profiles/per-user/root/current-guix/bin/guix-daemon > --build-users-group=3Dguixbuild" >/etc/sv/guix-daemon/run chmod 755 > /etc/sv/guix-daemon/run ln -sT /etv/sv/guix-daemon > /var/service/guix-daemon ;; >=20 > Or something like that :P Thanks for your support in IRC #guix !! >=20 > Regards, > Raimundo Great news! I'm closing this bug properly for you :) Note that you can close your reports by sending to nnnnn-done@debbugs.gnu.org, where nnnnn is your bug number. I think it would make sense to support runit. I guess I would need a VM of a distro that uses runit, in order to test an updated installation script. Which one do you use exactly?