From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aG4ONIkDRmJRhgAAgWs5BA (envelope-from ) for ; Thu, 31 Mar 2022 21:39:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YM+UMYkDRmK+jQAA9RJhRA (envelope-from ) for ; Thu, 31 Mar 2022 21:39:53 +0200 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 512793EDF3 for ; Thu, 31 Mar 2022 21:39:53 +0200 (CEST) Received: from localhost ([::1]:54394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1na0e8-0007uP-Dj for larch@yhetil.org; Thu, 31 Mar 2022 15:39:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na0dy-0007uA-0e for help-guix@gnu.org; Thu, 31 Mar 2022 15:39:42 -0400 Received: from mout.gmx.net ([212.227.17.22]:34253) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na0dv-0001uV-UQ for help-guix@gnu.org; Thu, 31 Mar 2022 15:39:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1648755576; bh=IHHeL2s+d9T4TqO1gtN2vWYvFl6nNabxZz3aa2uTbEs=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to; b=cRVA26d2H7X5ax19FUuoXcVzp9mz3RQfKD3VT7C5pV8WUwZTJfN3joxsHR+Zcxppi NxyN1sWOCbhCGyE1QIsS80E4g/1Df070WdufpOrqxB6MpcBIVM8ilSCcJJF+zkq+uo 806YXzJfgok+oGAqMa/QBY9xzpHeyyf3dG8Q2lFk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere ([82.69.64.142]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1N7zFj-1o4mrL1PAh-0154lX; Thu, 31 Mar 2022 21:39:36 +0200 References: <164872013406.7465.9006632236576301623@localhost> User-agent: mu4e 1.6.10; emacs 27.2 From: Pierre Langlois To: Tanguy LE CARROUR Subject: Re: `dockerd` service not starting Date: Thu, 31 Mar 2022 20:30:38 +0100 In-reply-to: <164872013406.7465.9006632236576301623@localhost> Message-ID: <871qyhlxn0.fsf@gmx.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:3mtrv+cye1t94LnHk93dNd+NkSFIAWUhNyQfNYXzQxGJahYM/rx IediQG+LuzjoRx43csEREKZHj6Gzdk7ulRw6bz4s6Obvam6+xWxy54ID2PCaUlZ3k/F1A0j xvOrA4qL0OV+bPvpEL3a+zKrUXQ/itq/ZvJfTjLV2+XVAPDHhHBW8HyLrvo40dZL8dBKb3L 7aZHQVrvf38Wf0RRfnXLQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:yhSHImicCbc=:GyEpQqO2PpE+Toce5vcxaE DiQ4rNWBeZ8fMpvTvN82cmaTfiic+md/DRaJ2utOAEZ/XvC0lpi9Zpzx87Bs9VhUc/mCl/Hnk LagIVn9iR8qN7wR6DRpTuMteYhtfqsqADeInGD7mLjQ1KuUzgul4Bn6exJP7Vq6Qry6wiI3si glsmx3RXcfKjs6D6FOQ7x1fasrW//Ws6cPAtbmXkL/tegGVUIkufxUlHvXax/9gPcwAJuU29u ZFWGsgLK0/47IhLDD6f+cTic/tr2wWJCbhQHs1f0cIHtsQ7qHLaUHgzyvWP4p78/PieBMeNKn 6V9XfS2WJPIndx8y81jRgQS+lTXVqKJSfV3h/+7B8su4YJ9BW0uajtCiKS1y9sZrsOwL4+ITk enUjQn9LKZVCFuRBQaXPW8fZPKdSSA0Ld1y0yNLR8r+SUx7Zb8FWzYvwydserHgEz6m40yc0b NGj6i6v/e3qEMMCBvm/bDWaNNndVsjb9HDTS/R+KhKjtorwNZLAg10KgixGPS0+9avxKgWXxG 2CvPtgVwrD8rCP4L7p1kjSvlwMdjbubhCDwzaKL8OkT+bwG8PKZpNBGslRCESI7hs7oMgmyZA MLoEsi+OzFDCD65HpuMzekpGOhNJT0mwzjhdPgH2QxxSZ2tKyascac/6nRmxR6uNTL7TuaAAp juO8ePQeNTbbigz7QowL/BIf5p8Ohqg4TfLbgBfIzRBiSYkm7i3as5ZUWCpY0WPAnh15EEXAi CPgZ+1U2CPR+kJ3ZmUbd1oseqSySK665fgNXpp95T7y59QZtQuJsG+2D0EYgGSD8whyhvGJZ/ IXGCGaUcCZzlHuMnCRC+it4guZNjO1wyAaCeFEa1ap0+yt2lhE2szOF2FKaZJGcTXGroX9j36 Mswi586oCYcG3qMwSb2JbaJ6JvGWze3znY2arNytMh3v3Py6aKX0m1f4rdxw+xj8LW6UZWK4Z soHqlJU3o6cptCNypkOQgNIhupmvxsNPjEaSCT5X1AqwmOX/HFgMMu0lx1BQqt9k/ZyC50wwI /i+eql57Tfx3Z49uHrv9mgDxAaIbRXKX5+6WQvtbEprXbrWsDBK8avSBYgzoya4j+EPzvOivI LENBPzq2Z85iSU= Received-SPF: pass client-ip=212.227.17.22; envelope-from=pierre.langlois@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648755593; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=VXDtcmZDg3cMgkSNDImPq/q0fR916qYRHnH5OSnUArQ=; b=BMwOXo6PCfiFSFcZlqbaSRh1e1xV8plndLTWuHWQEhxtOhyZUKh3YmK26/SkMUUEBNzHZQ yVD4nDcKw7ev/ptXPwMNaFaspLz990bYNiKlue/6UXfYYEj/lNIvsALSaHRPkK/e6UFkju BkfGCQpFkw4CLlmH6cjT7PWlmu73oB8qDCxIq/YxXzQ6UbWZnZPBipRAPWYH+u/m4ypXzX Er0qlHFk/goldhnc2MtWizDDT1VOPab8eXPvPup9jz4LJ/oib6ulrkCaEXW7tIiL3eosYH JQln0ibrclU5yH5hBCu0G/YEpD9m7ozDQ+mZmeSqn3pCC7cCzLi/1i4hEJoHiQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648755593; a=rsa-sha256; cv=none; b=VwXlE6Zlt0SN7FzDEbUsVezG6R8hKABvabXANh4RT4IHpaSgoSL6af8Zj+3FvXkB6I7DyN 5A3+T1labbO8BdPPOx+Ucy41qaRa4V5YLB5lttpzKJnZha4yZ5M2+6PkQOCN5P5PKqtQ+z 72Mahd5t5+E1fK85kocIOIvU5W1a+oLQDgO+EeOTYS06FKfzxvDoT/ikD9y9rI+AWoojFy 1v5UI3SH6ZMGXADQapxRxf1JkvjTPM1j/sabALW6Oa4qqTh+WrcFjXQyD48CgVhsevUTtG GkTI3HXcuZOcBYoWQsdpzDkkbwvJj0HbAecXDRc9zLelnq20NOQNhKHi1L2Oow== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=cRVA26d2; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.77 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=cRVA26d2; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 512793EDF3 X-Spam-Score: -1.77 X-Migadu-Scanner: scn1.migadu.com X-TUID: wv4T1iqrUon0 --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFMBAEBCgA2FiEEctU9gYy29KFyWDdMqPyeRH9PfVQFAmJGA3MYHHBpZXJyZS5s YW5nbG9pc0BnbXguY29tAAoJEKj8nkR/T31Uo+0H/0havGpvTJnCwBNOkcz3lG1z omhrJAGtzcM7zT1gz16T9V9XvqF0p9NkUCkXPkZXWbu+sFTOIiDNZiInqDYQdES+ cMYByKHAVg0OcoVC4jWE9IKfONebewPGLVf3rPWTONzm9cgKZDiKm1IHwfY338N2 JMxzT6Gad+ywCBdb/blIPfOuA2f053C43s3A1ITIUhH2qBZ5oeKKPp4YfrBX3orn G2Dm/s9eEKcDwSvdRwtQDmCg+w0wMEvgUDDuQ4LSQi8LoT5LwffodRDVPrqklNXs j2aGSfpo8yiJga/jr/uPEFsqK9t8XLADr9TSDEpQCeyWScLAnQ9KHGllAyc8Spw= =RG06 -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: multipart/signed; boundary="===-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --===-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi! Tanguy LE CARROUR writes: > Hi Guix, > > My `dockerd` service has stopped working weeks (months!?) ago, but I've > had no use for it in the meantime, so it was no big deal, until today=E2= =80=A6 > > My configuration looks like this: > > ```scm > ;=E2=80=A6 > (use-service-modules desktop docker) > > (operating-system > ;=E2=80=A6 > (services > (append > (list > (service docker-service-type) > ;=E2=80=A6 > )))) > ``` > > This used to be enough. But now, it doesn't auto-start any more and, > when I `sudo herd start dockerd`, it hangs and displays: > > ```console > $ sudo herd start dockerd > Password: > Service dockerd could not be started. > herd: failed to start service dockerd > ``` > > The log contains the following: > > ```log:/var/log/docker.log > time=3D"2022-03-31T11:31:32.027833616+02:00" level=3Dinfo msg=3D"Starting= up" > time=3D"2022-03-31T11:31:32.031576010+02:00" level=3Dinfo msg=3D"parsed s= cheme: \"unix\"" module=3Dgrpc > time=3D"2022-03-31T11:31:32.031661605+02:00" level=3Dinfo msg=3D"scheme \= "unix\" not registered, fallback to default scheme" module=3Dgrpc > time=3D"2022-03-31T11:31:32.031760157+02:00" level=3Dinfo msg=3D"ccResolv= erWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock = 0 }] }" module=3Dgrpc > time=3D"2022-03-31T11:31:32.031816856+02:00" level=3Dinfo msg=3D"ClientCo= nn switching balancer to \"pick_first\"" module=3Dgrpc > failed to start daemon: failed to dial "/run/containerd/containerd.sock":= unknown service containerd.services.namespaces.v1.Namespaces: not implemen= ted > ``` > > `containerd` seems to be running fine, even though I sometimes see the > following in the log: > > ```log:/var/log/docker.log > failed to start containerd: exec: "containerd": executable file not found= in $PATH > ``` That's strange, I can also see this in my logs from back in April 2021, but not since then. As a shot in the dark, could you try the attached patch? It's something I added while looking at updating docker (I need to rebase this series and get it committed). It's a bugfix, the patch-paths phase does not run withouth it so it could be related to your issues. But for some strange reason it's been working for me. https://issues.guix.gnu.org/52790#1 --===-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFMBAEBCgA2FiEEctU9gYy29KFyWDdMqPyeRH9PfVQFAmJGA3YYHHBpZXJyZS5s YW5nbG9pc0BnbXguY29tAAoJEKj8nkR/T31UGmIH/2XgnAbl6EMYVhZAEBUWoZEF oQMKTQaDB+IBHf1eCyD5+N0AqrioSzdNKDJ97+tlg0YAfVbOXCEp8V8d3nkzY3jk 6cMUPaA+Ddgs0wKcAKuIp18F29ToUqgO3JaLfgBQ05P1WCFoZUdIuLXmJDJMwQm7 E98ypOShVXMKzpIKcKVaQncvHCjJwcLLX67TkLqSf0NR+bLrvrMrzDIS5zKrR86c XfCxJya/6DaZDksPomJmXNHyEfocAAUl9c554sMuVflzsDVix43EnDfaxPjLbQAR y5ODKezLO9s0z993NJO4g6ayM1jyyhie87y6hZPKl9LUShWyDSujt9gf05ZjWeI= =mXVZ -----END PGP SIGNATURE----- --===-=-=-- --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-containerd-Fix-patch-paths-build-phase.patch Content-Transfer-Encoding: quoted-printable =46rom b7ca964bd265a06ffeb9b2f1d6a36c592876fd52 Mon Sep 17 00:00:00 2001 From: Pierre Langlois Date: Sat, 25 Dec 2021 02:04:35 +0000 Subject: [PATCH] gnu: containerd: Fix patch-paths build phase. * gnu/packages/docker.scm (containerd)[arguments]: Add 'patch-paths phases after 'unpack because 'chdir doesn't exist. Substitute runc binary for "pkg/cri/config/config_unix.go". =2D-- gnu/packages/docker.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm index 3f52f4f8db..9b15405a72 100644 =2D-- a/gnu/packages/docker.scm +++ b/gnu/packages/docker.scm @@ -190,7 +190,7 @@ (define-public containerd `(#:import-path "github.com/containerd/containerd" #:phases (modify-phases %standard-phases - (add-after 'chdir 'patch-paths + (add-after 'unpack 'patch-paths (lambda* (#:key inputs import-path outputs #:allow-other-key= s) (with-directory-excursion (string-append "src/" import-pat= h) (substitute* "runtime/v1/linux/runtime.go" =2D- 2.34.0 --=-=-= Content-Type: text/plain Thanks, Pierre --=-=-=--