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 sMViBMZnaF+2VAAA0tVLHw (envelope-from ) for ; Mon, 21 Sep 2020 08:43:50 +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 6KgjAMZnaF9VBAAAB5/wlQ (envelope-from ) for ; Mon, 21 Sep 2020 08:43:50 +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 850599402B0 for ; Mon, 21 Sep 2020 08:43:49 +0000 (UTC) Received: from localhost ([::1]:46644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKHQJ-0007MP-3n for larch@yhetil.org; Mon, 21 Sep 2020 04:43:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKHPa-0006AM-H9 for bug-guix@gnu.org; Mon, 21 Sep 2020 04:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41878) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kKHPa-00041d-77 for bug-guix@gnu.org; Mon, 21 Sep 2020 04:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kKHPa-0001ms-4i for bug-guix@gnu.org; Mon, 21 Sep 2020 04:43:02 -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: Mon, 21 Sep 2020 08:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43533 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Received: via spool by 43533-done@debbugs.gnu.org id=D43533.16006777336813 (code D ref 43533); Mon, 21 Sep 2020 08:43:02 +0000 Received: (at 43533-done) by debbugs.gnu.org; 21 Sep 2020 08:42:13 +0000 Received: from localhost ([127.0.0.1]:53424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKHOn-0001lp-HX for submit@debbugs.gnu.org; Mon, 21 Sep 2020 04:42:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKHOk-0001lZ-1B for 43533-done@debbugs.gnu.org; Mon, 21 Sep 2020 04:42:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52725) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKHOd-0003xs-Vf; Mon, 21 Sep 2020 04:42:03 -0400 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=58808 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 1kKHOd-0007RJ-3c; Mon, 21 Sep 2020 04:42:03 -0400 From: Jan Nieuwenhuizen Organization: AvatarAcademy.nl References: <87y2l47ake.fsf@gnu.org> <87a6xjbkfy.fsf@gnu.org> X-Url: http://AvatarAcademy.nl Date: Mon, 21 Sep 2020 10:41:19 +0200 In-Reply-To: <87a6xjbkfy.fsf@gnu.org> (Mathieu Othacehe's message of "Mon, 21 Sep 2020 10:30:57 +0200") Message-ID: <87sgbbr07k.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: 43533-done@debbugs.gnu.org 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: nqsUOqvRVzDn Mathieu Othacehe writes: Hello Mathieu, >> 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? > > Thanks for the detailed bug report. Yes it's not very clear, I'll try to > improve the comments. The idea is that when you run: > > herd start guix-daemon PID > > then, the guix-daemon joins the given PID namespaces, which is practical > to solve an installation issue. > > If guix-daemon is started normally, outside of the installation process, > then it joins the caller namespaces, which should be a no-op. Of course, > it breaks everything if the operating system does not support > namespaces. > > Fixed with 6453915cf7729203ef9552c13cb4528c6f4ed122. Yay, I can confirm that it works! > Sorry for the breakage, Thanks for the quick fix and explanation, I didn't catch that no-op trick! It's all about context/knowledge I guess; If you know how /ns/ works, I guess that the patch/explanation was clear. Greetings, Janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com