From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uL7NBilIEWX4RgEAauVa8A:P1 (envelope-from ) for ; Mon, 25 Sep 2023 10:43:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uL7NBilIEWX4RgEAauVa8A (envelope-from ) for ; Mon, 25 Sep 2023 10:43:21 +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 0C52E31FFB for ; Mon, 25 Sep 2023 10:43:21 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=dIrjnDHk; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695631401; 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: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=fAZecbfwBhmqX3w7vigEqH3nZqDGKntanRkb3hDgejw=; b=WuKjiEnUwtQ2andSraAOtkKj+TkdFzAm1UT0aHI68/eKT6cUos0+WVL6/bOzWKl2yJk+0I Izdw6aRFgjI9jty76y6bzCTuyOPINEqFuXcoCkPG+TNOO78fKOfGyiETjpeP9q9gHWvbMY m5pP4x5oMNsNfadyAnct2GSADLUWaBJBk2spigxOU8nH16XJSVLAouehfa05A1OtJA6Ci8 NFU+G0ulpQ0wANDFgVDg3d4TuJiNoDfhFaSxGP4tyzDPWbNdxqhHSJEBZmYKzmiFpDUxhT L7lwGeX+sWIPyvboVIUETEcYJWSX7lU85LQK2BNMR5zFKgK/K3oFnd1IUj+yNA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=dIrjnDHk; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695631401; a=rsa-sha256; cv=none; b=Ncuat3lLiLUnqBdPfHfuHQgoEecVvnOYagiJefArxOVF4H7hVcJo4K+XXVP8zWRWcBKtaT Rib7gPIxCXjegL9Rsl8Fb0Zh7ucw6EjKbBqlOo23gGQeIEDQ0OQJl8Rmq/Ac9v5Ve+Ca7E QaxMLlsI9k/n+i8EeBHbAutfW7cN8GqixeUbCLNcFfLndzciHe8rBGZusRmV5wQ12eiial V75yh19N6eT168zZQ27FRc4TY24xS2DSebIdsWTc7zld3efePGfUW96bhQ/cB9MvtMRMYz vdoSjW2WSlAK5Qk/Oq7QhrdDAoi38dBqudvRyAgjKSpHsMUmu8t1V1J+gasXnA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qkhBB-0005FE-8Y; Mon, 25 Sep 2023 04:42:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qkhB4-0005Cv-S2 for bug-guix@gnu.org; Mon, 25 Sep 2023 04:42:52 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qkhB4-00089b-2B for bug-guix@gnu.org; Mon, 25 Sep 2023 04:42:50 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qkhBG-0007Gs-9j for bug-guix@gnu.org; Mon, 25 Sep 2023 04:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#65177: udevd error with lvm-raid array leading to race condition with luks Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 25 Sep 2023 08:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65177 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Yann Dupont Cc: 65177@debbugs.gnu.org, Josselin Poiret , Tobias Geerinckx-Rice Received: via spool by 65177-submit@debbugs.gnu.org id=B65177.169563135127889 (code B ref 65177); Mon, 25 Sep 2023 08:43:02 +0000 Received: (at 65177) by debbugs.gnu.org; 25 Sep 2023 08:42:31 +0000 Received: from localhost ([127.0.0.1]:44120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkhAl-0007FZ-13 for submit@debbugs.gnu.org; Mon, 25 Sep 2023 04:42:31 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:41453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkhAh-0007F4-Uh for 65177@debbugs.gnu.org; Mon, 25 Sep 2023 04:42:29 -0400 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-4056ce55e6fso7766095e9.1 for <65177@debbugs.gnu.org>; Mon, 25 Sep 2023 01:42:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695631330; x=1696236130; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=fAZecbfwBhmqX3w7vigEqH3nZqDGKntanRkb3hDgejw=; b=dIrjnDHkoKkKXuQbaj5yvElBJod8h1lzRGC/rlaLAYSEDEcKTttCdjCybdzvdQ1Zjd vd2Qop1jVdHsz4Ba225M26Gu0IcN6vWqKZhWaMsg/T10fbOSD3YxOYKi/xmgtpFOI6yk nn7sIgL29Xwl3sDGGmxftjUujvacN7xo0cnWoCiBABljl7QZwoRGqTDB6lHHsL35IZ49 xk94c8wewq0xYciXbw8AlMrNExWNrsingiK2mmRUl4Si7BYeREmEaZh8ooLBUryD2yIo tBNFT1G7wpk7F5zXZUsATDdpKGz0XIKO9lOM+vb2sf6QZcP0x+3WyrUtbClIoUwvs1WF E/vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695631330; x=1696236130; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=fAZecbfwBhmqX3w7vigEqH3nZqDGKntanRkb3hDgejw=; b=CcBN18GJ9AgjM6jHTwqeiwURpZgmryusg9B5q4SpLbEh8tsk3RfnqRq2E9Zm9cv4mo grCP/Eot4iye08pFN+OsYW+1tvOzc2HJ0ZXrHUYQpiVHYyfHVjkmUSMTg37VWc3ZWB6s ALDJ0x1ZobdjX5xapBFmko8Tb/hY8S6lhc1VQUtYJDtG8uKxqrDGPssQuMxilDHjbU10 3HW3kmi18P41m75s9sRbospoO+R450R+I4NyfdljyiwkMTfLBLpUQdo05LqdIO8smlIi ca+sxlcrCl0UJK8XEn4c5dqSdIuHKZ01BRSiDrsFzaaE4g/8cGWt27E8g4TdnSb80/Z6 QB/A== X-Gm-Message-State: AOJu0YxYXJJ/geEgL/J/0T+ikYqCewNeoGUZtzbQ0GWdMrrvJd3DoPWX jHJd5aoY+ks4yEV0YSPJULg= X-Google-Smtp-Source: AGHT+IFYmB8jkL59iCzVNW7xAxyMnlvvya1oDLG3OVeB7wceyciiPHBg05n9W+8NFX19JFVJ953l5g== X-Received: by 2002:a7b:c456:0:b0:404:72f9:d59a with SMTP id l22-20020a7bc456000000b0040472f9d59amr5372025wmi.0.1695631329582; Mon, 25 Sep 2023 01:42:09 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id n6-20020a05600c294600b0040472ad9a3dsm11476836wmd.14.2023.09.25.01.42.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 01:42:08 -0700 (PDT) From: Simon Tournier References: <9b755986-a86d-dfa1-f497-1d4b1d37bb5b@univ-nantes.fr> <4b4bd749-fa4d-f4ea-742d-175d3da3822c@univ-nantes.fr> Date: Mon, 25 Sep 2023 09:35:54 +0200 In-Reply-To: <4b4bd749-fa4d-f4ea-742d-175d3da3822c@univ-nantes.fr> (Yann Dupont's message of "Thu, 14 Sep 2023 18:23:08 +0200") Message-ID: <87pm267lid.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.10 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 0C52E31FFB X-Spam-Score: -5.10 X-TUID: KhyWkvmmeigX Hi, On Thu, 14 Sep 2023 at 18:23, Yann Dupont wrote: > All I can say is that the VMs now boot. WDYT about this patch? > diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm > index 91109c41d9..28b3c1e0bf 100644 > --- a/gnu/packages/linux.scm > +++ b/gnu/packages/linux.scm > @@ -4421,6 +4421,7 @@ (define-public lvm2 > (sha256 > (base32 > "0z6w6bknhwh1n3qfkb5ij6x57q3wjf28lq3l8kh7rkhsplinjnjc")) > + (patches (search-patches "lvm2-no-systemd.patch")) > (modules '((guix build utils))) > (snippet > '(begin > diff --git a/gnu/packages/patches/lvm2-no-systemd.patch > b/gnu/packages/patches/lvm2-no-systemd.patch > new file mode 100644 > index 0000000000..7e8a37abcc > --- /dev/null > +++ b/gnu/packages/patches/lvm2-no-systemd.patch > @@ -0,0 +1,13 @@ > +diff --git a/udev/69-dm-lvm.rules.in b/udev/69-dm-lvm.rules.in > +index ff1568145..8879a2ef9 100644 > +--- a/udev/69-dm-lvm.rules.in > ++++ b/udev/69-dm-lvm.rules.in > +@@ -76,7 +76,7 @@ LABEL="lvm_scan" > + # it's better suited to appearing in the journal. > + > + IMPORT{program}="(LVM_EXEC)/lvm pvscan --cache --listvg --checkcomplete > --vgonline --autoactivation event --udevoutput --journal=output $env{DEVNAME}" > +-ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="(SYSTEMDRUN) --no-block > --property DefaultDependencies=no --unit lvm-activate-$env > {LVM_VG_NAME_COMPLETE} (LVM_EXEC)/lvm vgchange -aay --autoactivation event > $env{LVM_VG_NAME_COMPLETE}" > ++ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="(LVM_EXEC)/lvm vgchange -aay > --autoactivation event $env{LVM_VG_NAME_COMPLETE}" > + GOTO="lvm_end" > + > + LABEL="lvm_end" Josselin, is it what you had in mind? Cheers, simon