From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2GNtMyBwZ1/lEAAA0tVLHw (envelope-from ) for ; Sun, 20 Sep 2020 15:07:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YG5ILyBwZ19FbgAAbx9fmQ (envelope-from ) for ; Sun, 20 Sep 2020 15:07:12 +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 230949403C9 for ; Sun, 20 Sep 2020 15:07:12 +0000 (UTC) Received: from localhost ([::1]:58564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kK0vm-00085Y-TT for larch@yhetil.org; Sun, 20 Sep 2020 11:07:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kK0ve-00083K-CT for bug-guix@gnu.org; Sun, 20 Sep 2020 11:07:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40870) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kK0ve-0006n8-2V for bug-guix@gnu.org; Sun, 20 Sep 2020 11:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kK0vd-0003ZH-Sv for bug-guix@gnu.org; Sun, 20 Sep 2020 11:07:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43533: guix-daemon fails to start in Childhurd Resent-From: Jan Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 20 Sep 2020 15:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43533 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 43533@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160061439213677 (code B ref -1); Sun, 20 Sep 2020 15:07:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 Sep 2020 15:06:32 +0000 Received: from localhost ([127.0.0.1]:52416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kK0vA-0003YW-DQ for submit@debbugs.gnu.org; Sun, 20 Sep 2020 11:06:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:52596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kK0v6-0003YL-Rx for submit@debbugs.gnu.org; Sun, 20 Sep 2020 11:06:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kK0v5-0007m7-3H for bug-guix@gnu.org; Sun, 20 Sep 2020 11:06:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35703) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kK0v4-0006jx-4A; Sun, 20 Sep 2020 11:06:26 -0400 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=57430 helo=dundal.janneke.lilypond.org) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kK0ux-0007RU-Ao; Sun, 20 Sep 2020 11:06:20 -0400 From: Jan Nieuwenhuizen Organization: AvatarAcademy.nl X-Url: http://AvatarAcademy.nl Date: Sun, 20 Sep 2020 17:05:37 +0200 Message-ID: <87y2l47ake.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mathieu Othacehe Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: -1.01 X-TUID: wNso+IeiE55n Hi! On current master (6feb7a2107000f9ded547543dcda9d64402c6081), the shepherd in a Childhurd fails to start the guix-daemon. It does start when invoked manually, using the same arguments *) The culprit seems to be the usage of fork+exec-command/container: After applying this patch --8<---------------cut here---------------start------------->8--- diff --git a/gnu/services/base.scm b/gnu/services/base.scm index d560ad5a13..98a8d2abca 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -1570,7 +1570,7 @@ proxy of 'guix-daemon'...~%") ;; the 'set-http-proxy' action. (or (getenv "http_proxy") #$http-proxy)) =20 - (fork+exec-command/container + (fork+exec-command (cons* #$(file-append guix "/bin/guix-daemon") "--build-users-group" #$build-group "--max-silent-time" --8<---------------cut here---------------end--------------->8--- a Hurd VM built with --8<---------------cut here---------------start------------->8--- ./pre-inst-env guix system disk-image --target=3Di586-pc-gnu gnu/system= /examples/bare-hurd.tmpl --8<---------------cut here---------------end--------------->8--- has the shepherd starting the guix-daemon fine. I found that the /container bit was added in 8ce6f4dc2879919c12bc76a2f4b01200af97e019 installer: Run the installation inside a container. ...but I don't find the commit message quite clear about its intention to *always* run guix-daemon in a container; it could be read as sugessting to do so only during installation? How to proceed reverting this container feature for the Hurd? Greetings, Janneke *) For the Hurd that currently is something like: GUIX_LOCPATH=3D/gnu/store/z7a6sbvqzb5zapwpznmjkq2rsxil6i67-glibc-utf8-lo= cales-2.31/lib/locale\ LC_ALL=3Den_US.utf8\ guix-daemon --build-users-group guixbuild --max-silent-time 0 --timeout 0 --log-compression bzip2 --substitute-urls https://ci.guix.gnu.org --disable-chroot --disable-deduplication --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com