From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GB5SIjNY1WLjBQEAbAwnHQ (envelope-from ) for ; Mon, 18 Jul 2022 14:55:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oIVEIjNY1WKcCgAAauVa8A (envelope-from ) for ; Mon, 18 Jul 2022 14:55:15 +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 31719299B6 for ; Mon, 18 Jul 2022 14:55:15 +0200 (CEST) Received: from localhost ([::1]:54182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDQHJ-0000ll-W6 for larch@yhetil.org; Mon, 18 Jul 2022 08:55:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDQH8-0000je-Il for bug-guix@gnu.org; Mon, 18 Jul 2022 08:55:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51729) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDQH8-0008Vx-8W for bug-guix@gnu.org; Mon, 18 Jul 2022 08:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oDQH8-0004GQ-56 for bug-guix@gnu.org; Mon, 18 Jul 2022 08:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#56519: Shepherd non-deterministically fails to load the "guix-daemon" service after the "user-processes" service has been started Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 18 Jul 2022 12:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56519 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Markus Nilsson Cc: 56519@debbugs.gnu.org Received: via spool by 56519-submit@debbugs.gnu.org id=B56519.165814885216319 (code B ref 56519); Mon, 18 Jul 2022 12:55:02 +0000 Received: (at 56519) by debbugs.gnu.org; 18 Jul 2022 12:54:12 +0000 Received: from localhost ([127.0.0.1]:49488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDQGJ-0004F9-QI for submit@debbugs.gnu.org; Mon, 18 Jul 2022 08:54:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDQGI-0004Ew-4x for 56519@debbugs.gnu.org; Mon, 18 Jul 2022 08:54:10 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36312) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDQGC-0008QO-RS; Mon, 18 Jul 2022 08:54:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=Vzoi+aquPBKLXAcGr6Fbhvi4hwZDdzTRCi5f7FAfWbw=; b=YDikZ6MAcMMNuRvpEfze d1ijSRCY+T8kYy+voOHCUvYzhl41G9A1Q8rkD6C/7LP/SxULXhlJk45b1VfVn4gXVOMPuhT+5HuqR 9/PMr+QRJ08dMHEJmjpAULAfQyahpia4ht+T3mwY5p9SJOEo57x6aUxM8CHgr/KEioaCaGqX5h0vh UbW6DR16HDbkZxz+bK1V/fkx9+0VkP5BQepu4vAlnH16ktDRHPNeTLzUB/1eqgaIkkYI3fH85wdNB 2WM/vrQ+puHTt/xrMdLx2TPicv+i5yDP9LUU2I5QyxrjLM3ugnmvo9OEJTTic4/pYTs7pNDsEO+wU PH6G83o7IErQ9w==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=53776 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDQGC-0006np-CK; Mon, 18 Jul 2022 08:54:04 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Mon, 18 Jul 2022 14:54:01 +0200 In-Reply-To: (Markus Nilsson's message of "Tue, 12 Jul 2022 13:07:00 +0000") Message-ID: <87cze2zimu.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-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=1658148915; 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-cc: 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=Vzoi+aquPBKLXAcGr6Fbhvi4hwZDdzTRCi5f7FAfWbw=; b=Fi/pGibJZvoU+AdewsklsgGwypQbdbFUC96TviHbuWCQyUsMmluAZ2tdKRy90ihOK/pCCt kWlCg1/3bR4YrqV7Kqe37CiIIxq3NkVobCviTQ7/rWibtobcgPv4Kjs+mxeAht5+MZb52s E1Ps1btHyFjhaoialuJMGaU849kyXbbczkVjP8P2jWqvK47R4bEzjTj+B2Y2a8qG6jRqp4 c10GSKdJsyFDz9/qqv+aaDmG86kgIDXIXSdMOUD4u6qyHHJ84mxvSqUA4vEFrDBdY2y3/l pXJBY8e4FN7CgKVo+Dhf2rN6sNbbUlmtkzmb5LgsLkATT5wTyC6OzttLqi4cEw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658148915; a=rsa-sha256; cv=none; b=MpFNOLybFfv1shuTa+N7YJYdpsEz2va+upcF7OfcAFzuRRcZeZq816lgf0lGyY3e2GPA/J p7L5rUwf/6xi0d2wiPz1WqZPG0jZgZ0oGjFtDjFCHk3nmLo3snNTGpAHFbJRZrxzX4wimM rnXUh+/2YGF6ob0U4edC+JxbfGkT48Cl746oBBYubAntWpm4mwT/5FSgWQmGAO1vD6W4o1 f8FURYoyd8r5XSwnyRK/yxacVQScpjeagDwzdb52Wq+CbKnid6NRu+MlJUbis+yGEdL3oi 2Vd0LZS7+Wy6/Ef54OG9KVXvYEM4I6ATIDpybHB8mtNRQ4qV0ZpJAa7X0dk7Nw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=YDikZ6MA; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=YDikZ6MA; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 31719299B6 X-Spam-Score: -5.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: /n3Xq+63NUbH Hi Markus, >From the /var/log/messages excerpt you sent, it would seem that the root cause is failing to device mapping for the =E2=80=9Cstreetkid=E2=80=9D stor= age: Markus Nilsson skribis: > Jul 1 21:39:35 localhost vmunix: [ 16.150396] sd 6:0:1:0: Attached scs= i generic sg6 type 0 > Jul 1 21:39:35 localhost vmunix: [ 16.157673] sd 6:0:0:0: [sdf] 625142= 448 512-byte logical blocks: (320 GB/298 GiB) > Jul 1 21:39:35 localhost vmunix: [ 16.157689] sd 6:0:0:0: [sdf] 4096-b= yte physical blocks > Jul 1 21:39:35 localhost vmunix: [ 16.195016] shepherd[1]: Service dev= ice-mapping-streetkid_VG_storage-streetkid_LV_home could not be started. > Jul 1 21:39:35 localhost vmunix: [ 16.197048] shepherd[1]: Service fil= e-system-/home depends on device-mapping-streetkid_VG_storage-streetkid_LV_= home. > Jul 1 21:39:35 localhost vmunix: [ 16.199307] shepherd[1]: Service fil= e-system-/home could not be started. > Jul 1 21:39:35 localhost vmunix: [ 16.203577] shepherd[1]: Service fil= e-system-/dev/pts has been started. > Jul 1 21:39:35 localhost vmunix: [ 16.206789] shepherd[1]: Service fil= e-system-/sys/kernel/debug has been started. > Jul 1 21:39:35 localhost vmunix: [ 16.209950] shepherd[1]: Service fil= e-system-/dev/shm has been started. > Jul 1 21:39:35 localhost vmunix: [ 16.212595] shepherd[1]: Service fil= e-system-/sys/firmware/efi/efivars has been started. > Jul 1 21:39:35 localhost vmunix: [ 16.215719] shepherd[1]: Service fil= e-system-/gnu/store has been started. [...] > Jul 1 21:39:35 localhost vmunix: [ 17.481611] shepherd[1]: Service nsc= d could not be started. > Jul 1 21:39:35 localhost vmunix: [ 17.499327] ppdev: user-space parall= el port driver > Jul 1 21:39:35 localhost vmunix: [ 17.691044] sdi: sdi1 > Jul 1 21:39:35 localhost vmunix: [ 17.949918] sd 6:0:3:0: [sdi] Attach= ed SCSI disk > Jul 1 21:39:35 localhost vmunix: [ 17.956933] shepherd[1]: Service dev= ice-mapping-streetkid_VG_storage-streetkid_LV_home could not be started. > Jul 1 21:39:35 localhost vmunix: [ 17.958868] shepherd[1]: Service fil= e-system-/home depends on device-mapping-streetkid_VG_storage-streetkid_LV_= home. > Jul 1 21:39:35 localhost vmunix: [ 17.960699] shepherd[1]: Service fil= e-system-/home could not be started. > Jul 1 21:39:35 localhost vmunix: [ 17.962778] shepherd[1]: Service fil= e-systems depends on file-system-/home. > Jul 1 21:39:35 localhost vmunix: [ 17.964868] shepherd[1]: Service fil= e-systems could not be started. > Jul 1 21:39:35 localhost vmunix: [ 17.966751] shepherd[1]: Service use= r-processes depends on file-systems. > Jul 1 21:39:35 localhost vmunix: [ 17.968643] shepherd[1]: Service use= r-processes could not be started. > Jul 1 21:39:35 localhost vmunix: [ 17.970712] shepherd[1]: Service gui= x-daemon depends on user-processes. > Jul 1 21:39:35 localhost vmunix: [ 17.971359] shepherd[1]: Service gui= x-daemon could not be started. That is: =E2=80=98device-mapping-streetkid_VG_storage-streetkid_LV_home=E2= =80=99 fails to start; shepherd tries to start other services, but they depend on it so every time it fails with =E2=80=9CService X depends on device-mapping-streetkid_VG_storage-streetkid_LV_home=E2=80=9D followed by =E2=80=9CService X could not be started=E2=80=9D. Eventually, that propaga= tes down to =E2=80=98user-processes=E2=80=99 and =E2=80=98guix-daemon=E2=80=99, both of= which can=E2=80=99t be started. You can see the dependency graph of Shepherd services with: guix system shepherd-graph =E2=80=A6/config.scm | xdot - So it might not be a Shepherd or Guix issue per se, but rather something related to that =E2=80=9Cstreetkid=E2=80=9D device. I couldn=E2=80=99t fin= d hints in the log though. Ideas? Thanks, Ludo=E2=80=99.