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 izdxDlB0aF96CgAA0tVLHw (envelope-from ) for ; Mon, 21 Sep 2020 09:37:20 +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 0BjWCVB0aF83MQAAbx9fmQ (envelope-from ) for ; Mon, 21 Sep 2020 09:37:20 +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 AA87A9402B6 for ; Mon, 21 Sep 2020 09:37:19 +0000 (UTC) Received: from localhost ([::1]:45640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKIG5-0007Z7-GZ for larch@yhetil.org; Mon, 21 Sep 2020 05:37:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKHEw-0004nb-LP for bug-guix@gnu.org; Mon, 21 Sep 2020 04:32:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41870) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kKHEw-0002bf-Ar for bug-guix@gnu.org; Mon, 21 Sep 2020 04:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kKHEw-0001Xr-5e for bug-guix@gnu.org; Mon, 21 Sep 2020 04:32:02 -0400 Subject: bug#43533: guix-daemon fails to start in Childhurd Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Mon, 21 Sep 2020 08:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 43533 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jan Nieuwenhuizen Mail-Followup-To: 43533@debbugs.gnu.org, othacehe@gnu.org, janneke@gnu.org Received: via spool by 43533-done@debbugs.gnu.org id=D43533.16006770725876 (code D ref 43533); Mon, 21 Sep 2020 08:32:01 +0000 Received: (at 43533-done) by debbugs.gnu.org; 21 Sep 2020 08:31:12 +0000 Received: from localhost ([127.0.0.1]:53415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKHE8-0001Wi-Ft for submit@debbugs.gnu.org; Mon, 21 Sep 2020 04:31:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKHE5-0001WU-5O for 43533-done@debbugs.gnu.org; Mon, 21 Sep 2020 04:31:11 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52605) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKHDz-0002V1-S2; Mon, 21 Sep 2020 04:31:03 -0400 Received: from [2a01:e0a:19b:d9a0:9d9d:97cc:d92a:8ac0] (port=53222 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kKHDv-0005jJ-Dm; Mon, 21 Sep 2020 04:31:02 -0400 From: Mathieu Othacehe References: <87y2l47ake.fsf@gnu.org> Date: Mon, 21 Sep 2020 10:30:57 +0200 In-Reply-To: <87y2l47ake.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Sun, 20 Sep 2020 17:05:37 +0200") Message-ID: <87a6xjbkfy.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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-Mailman-Approved-At: Mon, 21 Sep 2020 05:37:11 -0400 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: is6+lK4RNpRg Hello janneke, > 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. Sorry for the breakage, Mathieu