Received: (at 65177) by debbugs.gnu.org; 31 Oct 2023 18:38:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 31 14:38:50 2023 Received: from localhost ([127.0.0.1]:49163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qxtdZ-0001Ux-Mo for submit <at> debbugs.gnu.org; Tue, 31 Oct 2023 14:38:49 -0400 Received: from wolfsden.cz ([37.205.8.62]:59174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ws@HIDDEN>) id 1qxtdW-0001Un-KZ for 65177 <at> debbugs.gnu.org; Tue, 31 Oct 2023 14:38:47 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id 769F62749FA; Tue, 31 Oct 2023 18:38:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1698777491; bh=vE0MXlFcYztAtiXU8plweifI2Bah4rBLoVEl95VRv5w=; h=Date:From:To:Subject; b=WFPn2nGFs4V2EfgFWOnInRoL0RK13L0AunLlLF+oFDYkxzJKmLdNVDN8KNlNe2MvS xtb0OWS1+QYO07UYmKmI16k0X/qUhmsvX7ynPvrL2NTwkgyZrhnTOPLlmdTRbtl3aO 8WLpQBWQ2iiIbuKbXtZBWEkx/SQzpyoYz9whdB5tHTABLvf50VWK0iab4ojS+J5875 7PHewbHptuWytZ0dP8F5mHwVGANGBRWeOa28olDCCS+vpkzsV9ndUArQn5gL1x0IjW R9iaPB0DIpOUFr2btMuhaNWmFH9JDsxg0Qq4monv/z4DhMiLvgQk2ctyh26EQdCb9C /gMApHtAyK+YYzwTxfNkCsRUn/Mv97js2KR/obGYw5xm8qBUYWVkhuYBH801YTnYYW 6anyhSrowwFAYS9uVeMLoHJUUUxWbXd+9gxOVBQqPk5M74F0l83Nx8d3wOU12O0HS5 1ONdgiiKv+AZvRI51lVMO2UwqdEPNo1HVZnDgCCJFz0RfBuA6z7kYfK32ChpWT3jhK Zq2u+XHdd6W115qO0kaMnxGpz3wzQOYAYoNlqdgW3ziTkfN7eHDz3pqWnmxfJhtTRx oOj9RI1AMYoa2YSgiSWam2Bj/0jUZ3m88R9HMTg1/3LZzY1ddKQh7A/WiWTpaqbdP6 Q2VA5BO0w5+62RKP3CxgwD4A= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id EAE412763EC for <65177 <at> debbugs.gnu.org>; Tue, 31 Oct 2023 18:38:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1698777490; bh=vE0MXlFcYztAtiXU8plweifI2Bah4rBLoVEl95VRv5w=; h=Date:From:To:Subject; b=nbN2hLzdIVYHIHbYBjxS3rFeycm7tV//O9B+rxxRBYxBw6L2iLWivBzZxStWFRLoX LBoV2kW1IXOnramVS5UV9XVz+T96mwG9MVlDteHdUMrly90ps4mnoxqZ100NY24oBQ 5Ka0BV3FXcfXoh7XkabTXWTfrjS5PUlKoV8xQ762cp1tLyIWcFLIRwwhCZWF65MumH JO/mc406DpDiiT1tyo9KKjpPOFJDDAnou4HT4GUuQwazlSaOUKoytCZkS4Pf8xILT9 KACKlY2fNXO/T0oaQhpll1RqozWvEZK/EJwDJr69uyt3JdYsy8CVBbAct5JehXhexx MEzszl6M4CkttgQ8D+vVcmClmBK2IeqC4PrEPKk6Vhh7bnTHYecG2/KjgV+nYSVClD soeWI1cca7gcMXZiEqggWud/0YBibNS72b6MsuEgHzD3ZqS6/LAq7Gus69OhsnX/MD OFXTPqOTsDltR6ZM8aUDY3s8psVrIRvPnfTBlbvj89wWvFSZyYkSn99Ip0B5S5sSsJ bF5UDBpX207bSYgC4DoOtmTlMiZV2V8u05CSYcAzerIYdSORI5fv0Zp4Vc3lZav/6p ElE1v45MkcHibTUGz83NnNd+jnzVxMuR718XsNELfMA2nW9YLMWKL7dMuVt8cQBjKZ eU9QEZfgO4sZCWxrwbgPrUow= Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 40f0ef65 for <65177 <at> debbugs.gnu.org>; Tue, 31 Oct 2023 18:38:09 +0000 (UTC) Date: Tue, 31 Oct 2023 19:38:09 +0100 From: Tomas Volf <wolf@HIDDEN> To: 65177 <at> debbugs.gnu.org Subject: Re: bug#65177: udevd error with lvm-raid array leading to race Message-ID: <ZUFJkQsH7TbjS62u@ws> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="H5mFZZiv+55HkrbA" Content-Disposition: inline X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 65177 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.8 (/) --H5mFZZiv+55HkrbA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I think the patch is wrong. No comment regarding the udev rule itself (I d= o not know much about it), it does spam the logs with: Oct 31 18:31:35 localhost vmunix: [ 60.013538] udevd[327]: invalid key/va= lue pair in file /gnu/store/a3xvv1zxzyb53r5r752q8nh9v9vd150h-udev-rules/69-= dm-lvm.rules on line 78, starting at character 1 ('I') Oct 31 18:31:35 localhost vmunix: [ 60.013544] udevd[327]: invalid key/va= lue pair in file /gnu/store/a3xvv1zxzyb53r5r752q8nh9v9vd150h-udev-rules/69-= dm-lvm.rules on line 79, starting at character 32 (',') The fix[0] for that is fairly trivial. 0: https://git.sr.ht/~graywolf/guix/commit/207794679281c1e7e5f2051719fe5c70= 5506eb23 Have a nice day, W. --=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --H5mFZZiv+55HkrbA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmVBSZEACgkQL7/ufbZ/ walKdQ/9ENQG7NMaUVB2mUzE8G2BNWeyS8CyNxddGzK5kZf4hh/UuhFUbIeG/8/p 1742UD006noNEDzQa1i7M9Yd1xX0JngDv+I1KsNojrDnNQyi4UEkH1uZfPRQPYx2 Fy8B1pLHtvD4xLgQiWBWpIkkiTH9dO5ueJneOqnD3ZuwdUbgnOgJiDJP65hqEMOa VsNacP71AdTeOnc3hf+R6p9B7QXWOIDXBsaonaU8jjSmrDml94oWFL7d7UfgqwXq 9k4n69w/yeP8j04xiHImnM16GQIspNG6RtCBeop3LWz21jmGcej3ShmgMmuOeNVO DMi8RBez+Fo0QK03FHVU1zG2uLKqwEsDXEti77gRyZFZovuJaw9AQrLkPiEDrA3V l+QURWSfhQLRI6kAzKFM5hl0diK6xYGXWIwAvY/K+fNv+3//ULKL2cSDCypjgvp+ o7AV33OCGxJ2RFFeo3bxoEsrT71uQDnkqBhQMU0a26zUQPPFDJ5+m2ul8bFj2gXa gghQwNuq01jvRm8R4/YzWKe8dfqI0j4R2neje+Ce7mPf5q8R0/OHkvJcTea6kAQ5 LtnbNpXpkrBLbFTh7xD+oVBrVLCNL+plkBUqPJbGBVtyRk/k9kb6ckWthgSUnNdy aKGnIkcazWA9bJQNLvrkg3r3exkpIJWj0Gldcmu0r/B3JzDzSpw= =B+40 -----END PGP SIGNATURE----- --H5mFZZiv+55HkrbA--
bug-guix@HIDDEN
:bug#65177
; Package guix
.
Full text available.Debbugs Internal Request <help-debbugs@HIDDEN>
to internal_control <at> debbugs.gnu.org
.
Full text available.Received: (at 65177-done) by debbugs.gnu.org; 31 Oct 2023 10:59:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 31 06:59:32 2023 Received: from localhost ([127.0.0.1]:47521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qxmT6-0005wi-0s for submit <at> debbugs.gnu.org; Tue, 31 Oct 2023 06:59:32 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:40224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <zimon.toutoune@HIDDEN>) id 1qxmT3-0005w9-Ky for 65177-done <at> debbugs.gnu.org; Tue, 31 Oct 2023 06:59:30 -0400 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-32f942baaa5so132414f8f.1 for <65177-done <at> debbugs.gnu.org>; Tue, 31 Oct 2023 03:58:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698749930; x=1699354730; darn=debbugs.gnu.org; h=content-transfer-encoding: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=wOQQEqj8i5CYfX1Hi4L8A/BHlnc4+Na5dGaYteVEJRE=; b=IQ5DLgmYpIaAaqqBFIczXEuyv52vkI+aeuRlE4sOzE9oXGQsJZYQ55sXEd3o/925mA tgnzofIvNa+ZRAId1DrEuMHTmODJVgsjZhPw+Rh+A+CvxsLh44rxePTjhiJvh849ViiQ qOOfT0FyzOJ93ZJE9QDElGbyjoINIFmLtV4rU6VeiufL4zA9CK55y7KhPdgoLulb51aY 5nWjpIouuYhdEdQuYaF6mIGtolzh0FqtRudOjWqMgYQfVz24ofwu1UR4NhFzMjpgBjsN AARpcQh1x5Oy7EXs3NELI+iho/VT6Pqb5XI/0Vc7jFxsUEklxt6t6h129YCNDm9zNKH/ CH+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698749930; x=1699354730; h=content-transfer-encoding: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=wOQQEqj8i5CYfX1Hi4L8A/BHlnc4+Na5dGaYteVEJRE=; b=eIGR5i2biorVS23SvShy8hzKnM7gE04N3eXRChPtc6vj9rXnGTomUwXy58MTkpmwfy J4rKO33bVDZ9G0iWhSgquyPYKU1zsC4ZfXdu68uIECLZsVM/iGfU5KmgU1purxqWg2SD abShNmGJL7TW71QiNO1Hsjqa5cl1Gwc/b6DBcuWV4QsNfXPMs15vkEXjD7xuuWhHXk8v BooVKoEqZapjGWIm7QngRiiAC6x9lpH1nPvNc362xm6oY9njg4VEOLSqCtWpNG2dza3M W8/oIcoeQKxWg7CTwtIgUrgJbw8AhU0ngWA9LZBuDensbRDkiAVtVbveE4QVe15Shg6u uMHQ== X-Gm-Message-State: AOJu0Yw9AXc6tCoFNCCLiGYIK3Ldjur37UQYMn+45a58zUX8iDi7mHx4 sz5wrm3c/qxjmwy2dBnM13U= X-Google-Smtp-Source: AGHT+IE5oGeqCTPa2lbzf26V3x252X6NX8Lhplza83AvxM6+o5oogDJWFTWoMH2R5dZI6o8EvEzY3A== X-Received: by 2002:a5d:6984:0:b0:32f:76bb:a851 with SMTP id g4-20020a5d6984000000b0032f76bba851mr6828518wru.1.1698749930169; Tue, 31 Oct 2023 03:58:50 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id y17-20020adff6d1000000b0032f7d7ec4adsm1232826wrp.92.2023.10.31.03.58.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 03:58:49 -0700 (PDT) From: Simon Tournier <zimon.toutoune@HIDDEN> To: Yann Dupont <Yann.Dupont@HIDDEN> Subject: Re: bug#65177: udevd error with lvm-raid array leading to race condition with luks References: <9b755986-a86d-dfa1-f497-1d4b1d37bb5b@HIDDEN> <4b4bd749-fa4d-f4ea-742d-175d3da3822c@HIDDEN> <87pm267lid.fsf@HIDDEN> <865y35pqsh.fsf@HIDDEN> Date: Tue, 31 Oct 2023 09:59:59 +0100 In-Reply-To: <865y35pqsh.fsf@HIDDEN> (Simon Tournier's message of "Tue, 17 Oct 2023 11:00:14 +0200") Message-ID: <87ttq7yxo0.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65177-done Cc: Tobias Geerinckx-Rice <me@HIDDEN>, Josselin Poiret <dev@HIDDEN>, 65177-done <at> debbugs.gnu.org, Adrien 'neox' Bourmault <neox@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi, >>> All I can say is that the VMs now boot. >> >> WDYT about this patch? > > For easing the discussion, I extracted Yann=E2=80=99s diff and prepared a= patch > ready to merge. See: > > https://issues.guix.gnu.org/issue/66586 Patch pushed as c0895371c5759c7d9edb330774e90f192cc4cf2c. Closing. Feel free to reopen if the patch does not fix the issue. Cheers, simon
Adrien 'neox' Bourmault <neox@HIDDEN>
:Simon Tournier <zimon.toutoune@HIDDEN>
:Received: (at 65177) by debbugs.gnu.org; 17 Oct 2023 09:00:53 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 17 05:00:53 2023 Received: from localhost ([127.0.0.1]:58570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qsfwa-0006Ni-Lq for submit <at> debbugs.gnu.org; Tue, 17 Oct 2023 05:00:52 -0400 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:40180) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <zimon.toutoune@HIDDEN>) id 1qsfwY-0006NV-Nd for 65177 <at> debbugs.gnu.org; Tue, 17 Oct 2023 05:00:51 -0400 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-503067bd530so1246567e87.0 for <65177 <at> debbugs.gnu.org>; Tue, 17 Oct 2023 02:00:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697533218; x=1698138018; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=h5D1Cgzo7wCOeZOoykbdU7BCc2HIVd/x57ixUtKt5x0=; b=PP3Sc3VbZpmlPUK1zq2q3Xrlhg0qhPL3gyDvn0+xnXUbrts1Kh6G6iu/zHOtKHkhH6 moT5FdyJs8s8UXEYVvD8F7sQ2GUtQFSjCtHxPXtnMr9xMAGSKby+GTYQsn5AdPbSz+Ze 5OLmKg2i9igxrgjI+FApYBso4NvUCWWTSNlBeOYgbfHUR7xG0AN5vVPWFIx/8z7u6ZdF IjbEdPncSCKjtj2lUTVW0QD5/NGUAt2LGOjS33QM5sMbzNHU81YcKMLedzm8QLdsM7vQ GPCcQmPReTB1vgG96CwflaaXyqO4XvYf3PETm1XbSzLDbHQWqPPE6cLerSZvicXLrV20 ji8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697533218; x=1698138018; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=h5D1Cgzo7wCOeZOoykbdU7BCc2HIVd/x57ixUtKt5x0=; b=E1UfNHE3wDiuUUgbwXRnh8gDfCpVlnYzKRLqEjTFDzScS7RV2M9R0+sHhLQZ6RW1wC kDU5h5F1DJ/ux5i4051RyeujinQOpB596up7WdpgVYiQaidm3a6fo3KTE62dpOS6v7PX xMYSrxI3bvfaIv7XnYpC/grKDFPdsJwhSvKRMRAwwxCmLpcmj2iyUhHCj2RTC3LLzXYR 7g48ziSLPG9zEH/i7fgRy6VFfer2isZb9Jm0XZVPvguFSTjiXJvBOA96aOJOrnt4MWcQ srMAckrSl7aLJ6+XsqJv7oUeFxPL55rEcKICASduS9hbF0+9RaO1Lo9P2Vd7xVBGosv9 jqcw== X-Gm-Message-State: AOJu0YyI//WNaMKWvX56eASgTcv9Tj5kc6bu/2HdDU6XpZTEHgYCRR5+ 7EQpZH4zoO9Koz1T6B2PauM= X-Google-Smtp-Source: AGHT+IEkn3m3n40JYOPuKepp5940uEHX5p0N0+LotmMAdG+e+T3afguFbRsdZ4E1DIYzd6RcK/c1Yw== X-Received: by 2002:a2e:a603:0:b0:2b9:7034:9bbe with SMTP id v3-20020a2ea603000000b002b970349bbemr1038125ljp.4.1697533218223; Tue, 17 Oct 2023 02:00:18 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id w12-20020a05600c474c00b004078d71be9csm1641129wmo.13.2023.10.17.02.00.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 02:00:17 -0700 (PDT) From: Simon Tournier <zimon.toutoune@HIDDEN> To: Yann Dupont <Yann.Dupont@HIDDEN> Subject: Re: bug#65177: udevd error with lvm-raid array leading to race condition with luks In-Reply-To: <87pm267lid.fsf@HIDDEN> References: <9b755986-a86d-dfa1-f497-1d4b1d37bb5b@HIDDEN> <4b4bd749-fa4d-f4ea-742d-175d3da3822c@HIDDEN> <87pm267lid.fsf@HIDDEN> Date: Tue, 17 Oct 2023 11:00:14 +0200 Message-ID: <865y35pqsh.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65177 Cc: 65177 <at> debbugs.gnu.org, Josselin Poiret <dev@HIDDEN>, Tobias Geerinckx-Rice <me@HIDDEN>, Adrien 'neox' Bourmault <neox@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi, On Mon, 25 Sep 2023 at 09:35, Simon Tournier <zimon.toutoune@HIDDEN> wro= te: >> All I can say is that the VMs now boot. > > WDYT about this patch? For easing the discussion, I extracted Yann=E2=80=99s diff and prepared a p= atch ready to merge. See: https://issues.guix.gnu.org/issue/66586 Cheers, simon
bug-guix@HIDDEN
:bug#65177
; Package guix
.
Full text available.Received: (at 65177) by debbugs.gnu.org; 25 Sep 2023 08:42:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 25 04:42:31 2023 Received: from localhost ([127.0.0.1]:44120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qkhAl-0007FZ-13 for submit <at> 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 <zimon.toutoune@HIDDEN>) id 1qkhAh-0007F4-Uh for 65177 <at> 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 <at> 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 <zimon.toutoune@HIDDEN> To: Yann Dupont <Yann.Dupont@HIDDEN> Subject: Re: bug#65177: udevd error with lvm-raid array leading to race condition with luks References: <9b755986-a86d-dfa1-f497-1d4b1d37bb5b@HIDDEN> <4b4bd749-fa4d-f4ea-742d-175d3da3822c@HIDDEN> Date: Mon, 25 Sep 2023 09:35:54 +0200 In-Reply-To: <4b4bd749-fa4d-f4ea-742d-175d3da3822c@HIDDEN> (Yann Dupont's message of "Thu, 14 Sep 2023 18:23:08 +0200") Message-ID: <87pm267lid.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65177 Cc: 65177 <at> debbugs.gnu.org, Josselin Poiret <dev@HIDDEN>, Tobias Geerinckx-Rice <me@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi, On Thu, 14 Sep 2023 at 18:23, Yann Dupont <Yann.Dupont@HIDDEN> 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
bug-guix@HIDDEN
:bug#65177
; Package guix
.
Full text available.Received: (at 65177) by debbugs.gnu.org; 14 Sep 2023 16:23:28 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 14 12:23:28 2023 Received: from localhost ([127.0.0.1]:40964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qgp7n-0007yv-Ie for submit <at> debbugs.gnu.org; Thu, 14 Sep 2023 12:23:28 -0400 Received: from smtptls1-loi.cpub.univ-nantes.fr ([2001:660:7220:385:193:52:103:112]:58292 helo=smtp-tls.univ-nantes.fr) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <Yann.Dupont@HIDDEN>) id 1qgp7j-0007ya-EM for 65177 <at> debbugs.gnu.org; Thu, 14 Sep 2023 12:23:26 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp-tls.univ-nantes.fr (Postfix) with ESMTP id 682D459E for <65177 <at> debbugs.gnu.org>; Thu, 14 Sep 2023 18:23:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=univ-nantes.fr; s=mailv2; t=1694708589; bh=d3bHCp0nsxEF09Zd/7SvaQiNQw+KY/SS0dQg2qSRu5A=; h=Date:Subject:From:To:References:In-Reply-To:From; b=OmQ0E68zhrmUvfNVqkRIE6jt2a924O8nmsKKjhYaIbSK6rnyD8xK3DpWdNHGvPGgB HjIS5omxD+tZzzxy9h6wwgkpX5n7T0sHixqJgUTcIyL3LImoOnFb+0YFh3iZT20GOp ktjlRICnqO8wbbK4UrgaLCTubNwKgHSFkAJwI1QJ4y+JUNDMFU1Y1kK/SkVFNoQqOH +XX5R3EZee6K1B6SxBc53AIf5VkYWitaTONtCnf7y+b3s7nxOJmeAs43h5Xg7yDLLl be7wX6tjo4OsuIT487ckVIA1yJaFVeXwXg8kkRZuWK2Y3vRtHrM6qT1PiBPuSrAAjb sW5q6VrXG95dg== X-Virus-Scanned: Debian amavisd-new at smtptls1-lmb.cpub.univ-nantes.fr Received: from smtp-tls.univ-nantes.fr ([127.0.0.1]) by localhost (smtptls1-loi.cpub.univ-nantes.fr [127.0.0.1]) (amavisd-new, port 10024) with LMTP id K0dhP2rOfBtR for <65177 <at> debbugs.gnu.org>; Thu, 14 Sep 2023 18:23:09 +0200 (CEST) Received: from [IPV6:2a01:e0a:2c6:9282:cbc6:de2d:73ed:1ac2] (unknown [IPv6:2a01:e0a:2c6:9282:cbc6:de2d:73ed:1ac2]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-tls.univ-nantes.fr (Postfix) with ESMTPSA id 39D002C6 for <65177 <at> debbugs.gnu.org>; Thu, 14 Sep 2023 18:23:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=univ-nantes.fr; s=mailv2; t=1694708589; bh=d3bHCp0nsxEF09Zd/7SvaQiNQw+KY/SS0dQg2qSRu5A=; h=Date:Subject:From:To:References:In-Reply-To:From; b=OmQ0E68zhrmUvfNVqkRIE6jt2a924O8nmsKKjhYaIbSK6rnyD8xK3DpWdNHGvPGgB HjIS5omxD+tZzzxy9h6wwgkpX5n7T0sHixqJgUTcIyL3LImoOnFb+0YFh3iZT20GOp ktjlRICnqO8wbbK4UrgaLCTubNwKgHSFkAJwI1QJ4y+JUNDMFU1Y1kK/SkVFNoQqOH +XX5R3EZee6K1B6SxBc53AIf5VkYWitaTONtCnf7y+b3s7nxOJmeAs43h5Xg7yDLLl be7wX6tjo4OsuIT487ckVIA1yJaFVeXwXg8kkRZuWK2Y3vRtHrM6qT1PiBPuSrAAjb sW5q6VrXG95dg== Content-Type: multipart/alternative; boundary="------------33GaEGhdQdo1gs91wkcBXaQG" Message-ID: <4b4bd749-fa4d-f4ea-742d-175d3da3822c@HIDDEN> Date: Thu, 14 Sep 2023 18:23:08 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: udevd error with lvm-raid array leading to race condition with luks Content-Language: fr From: Yann Dupont <Yann.Dupont@HIDDEN> To: 65177 <at> debbugs.gnu.org References: <9b755986-a86d-dfa1-f497-1d4b1d37bb5b@HIDDEN> In-Reply-To: <9b755986-a86d-dfa1-f497-1d4b1d37bb5b@HIDDEN> X-Spam-Score: -1.5 (-) X-Debbugs-Envelope-To: 65177 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.5 (--) This is a multi-part message in MIME format. --------------33GaEGhdQdo1gs91wkcBXaQG Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi, as suggested by Josselin, I tested the following patch and it seems to do the job here. Be careful, I'm not an udev or lvm2 specialist at all and basically, I don't really know if what I did is the right way to do it. All I can say is that the VMs now boot. Cheers, 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" --------------33GaEGhdQdo1gs91wkcBXaQG Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <p _d-id="105058"><span _d-id="107552" class="--l --r sentence_highlight"><span _d-id="107554" class="--l --r hover:bg-[#B4DAE8]">Hi</span><span _d-id="107557" class="--l --r hover:bg-[#B4DAE8]">, as suggested by </span>Josselin, <span _d-id="107561" class="--l --r hover:bg-[#B4DAE8]">I</span> <span _d-id="107565" class="--l --r hover:bg-[#B4DAE8]">tested</span> <span _d-id="107569" class="--l --r hover:bg-[#B4DAE8]">the</span> <span _d-id="107573" class="--l --r hover:bg-[#B4DAE8]">following</span> <span _d-id="107577" class="--l --r hover:bg-[#B4DAE8]">patch</span> <span _d-id="107581" class="--l --r hover:bg-[#B4DAE8]">and</span> <span _d-id="107585" class="--l --r hover:bg-[#B4DAE8]">it</span> <span _d-id="107589" class="--l --r hover:bg-[#B4DAE8]">seems</span> <span _d-id="107593" class="--l --r hover:bg-[#B4DAE8]">to</span> <span _d-id="107597" class="--l --r hover:bg-[#B4DAE8]">do</span> <span _d-id="107601" class="--l --r hover:bg-[#B4DAE8]">the</span> <span _d-id="107605" class="--l --r hover:bg-[#B4DAE8]">job</span> <span _d-id="107609" class="--l --r hover:bg-[#B4DAE8]">here</span><span _d-id="107612" class="--l --r hover:bg-[#B4DAE8]">.</span></span></p> <p _d-id="105059"><span _d-id="107614" class="--l --r sentence_highlight"><br _d-id="105049"> </span></p> <p _d-id="105060"><span _d-id="107616" class="--l --r sentence_highlight">Be careful, I'm not an udev or lvm2 specialist at all and basically, I don't really know if what I did is the right way to do it.</span></p> <p _d-id="105061"><span _d-id="107618" class="--l --r sentence_highlight"><br _d-id="105053"> </span></p> <p _d-id="105062"><span _d-id="107620" class="--l --r sentence_highlight">All I can say is that the VMs now boot.</span></p> <p></p> <p><br> </p> <p>Cheers,<br> </p> <p><br> </p> <p><br> diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm<br> index 91109c41d9..28b3c1e0bf 100644<br> --- a/gnu/packages/linux.scm<br> +++ b/gnu/packages/linux.scm<br> @@ -4421,6 +4421,7 @@ (define-public lvm2<br> (sha256<br> (base32<br> "0z6w6bknhwh1n3qfkb5ij6x57q3wjf28lq3l8kh7rkhsplinjnjc"))<br> + (patches (search-patches "lvm2-no-systemd.patch")) <br> (modules '((guix build utils)))<br> (snippet<br> '(begin<br> diff --git a/gnu/packages/patches/lvm2-no-systemd.patch b/gnu/packages/patches/lvm2-no-systemd.patch<br> new file mode 100644<br> index 0000000000..7e8a37abcc<br> --- /dev/null<br> +++ b/gnu/packages/patches/lvm2-no-systemd.patch<br> @@ -0,0 +1,13 @@<br> +diff --git a/udev/69-dm-lvm.rules.in b/udev/69-dm-lvm.rules.in<br> +index ff1568145..8879a2ef9 100644<br> +--- a/udev/69-dm-lvm.rules.in<br> ++++ b/udev/69-dm-lvm.rules.in<br> +@@ -76,7 +76,7 @@ LABEL="lvm_scan"<br> + # it's better suited to appearing in the journal.<br> + <br> + IMPORT{program}="(LVM_EXEC)/lvm pvscan --cache --listvg --checkcomplete --vgonline --autoactivation event --udevoutput --journal=output $env{DEVNAME}"<br> +-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}"<br> ++ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="(LVM_EXEC)/lvm vgchange -aay --autoactivation event $env{LVM_VG_NAME_COMPLETE}"<br> + GOTO="lvm_end"<br> + <br> + LABEL="lvm_end"<br> <br> </p> <br> </body> </html> --------------33GaEGhdQdo1gs91wkcBXaQG--
bug-guix@HIDDEN
:bug#65177
; Package guix
.
Full text available.Received: (at 65177) by debbugs.gnu.org; 14 Sep 2023 09:25:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 14 05:25:57 2023 Received: from localhost ([127.0.0.1]:37656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qgibk-0002ZE-VB for submit <at> debbugs.gnu.org; Thu, 14 Sep 2023 05:25:57 -0400 Received: from smtptls1-lmb.cpub.univ-nantes.fr ([2001:660:7220:385:193:52:103:110]:57468 helo=smtp-tls.univ-nantes.fr) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <Yann.Dupont@HIDDEN>) id 1qgibh-0002Yx-4y for 65177 <at> debbugs.gnu.org; Thu, 14 Sep 2023 05:25:56 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp-tls.univ-nantes.fr (Postfix) with ESMTP id D537820853 for <65177 <at> debbugs.gnu.org>; Thu, 14 Sep 2023 11:25:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=univ-nantes.fr; s=mailv2; t=1694683538; bh=GFHD8x+QDKk6s0GbKmyJn7cpL5qDPmfQ2Sy/2JjDWZo=; h=Date:To:Subject:From:From; b=Coi67vGuMv/+qttMrmzYHPvUXRaTy+HAkoaoLUMJEgFcIQxpk2Am8sQQuN5kuryv0 LGCubCsDISHIs52QuO+sva1qxmXgLjyrRKfw0OOJr+cbcIhynOEc7Tiz9nOoeVGRXY Dikjfe0mQSR1CngSVskL7oVh6iNu1FyVqxOzpnm41UHSaWjYTMFy+rxlmcceH8rMu5 wMY0LhWhMOo2mcQPFBa34MBgb93iKK31mfc6lUpR308Lb2qbN+hrjiuyVF7qCb4HDb k8x345ohw+JRbCTGcoIEQX3QiEUxfVAHufuekec5KoKCwCfYBaZZwGe3URlEV6N4fu ZfAHSl6w62QEA== X-Virus-Scanned: Debian amavisd-new at smtptls1-lmb.cpub.univ-nantes.fr Received: from smtp-tls.univ-nantes.fr ([127.0.0.1]) by localhost (smtptls1-lmb.cpub.univ-nantes.fr [127.0.0.1]) (amavisd-new, port 10024) with LMTP id jGulWWnh0Sfl for <65177 <at> debbugs.gnu.org>; Thu, 14 Sep 2023 11:25:38 +0200 (CEST) Received: from [IPV6:2a01:e0a:2c6:9282:cbc6:de2d:73ed:1ac2] (unknown [IPv6:2a01:e0a:2c6:9282:cbc6:de2d:73ed:1ac2]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-tls.univ-nantes.fr (Postfix) with ESMTPSA id ACC672084C for <65177 <at> debbugs.gnu.org>; Thu, 14 Sep 2023 11:25:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=univ-nantes.fr; s=mailv2; t=1694683538; bh=GFHD8x+QDKk6s0GbKmyJn7cpL5qDPmfQ2Sy/2JjDWZo=; h=Date:To:Subject:From:From; b=Coi67vGuMv/+qttMrmzYHPvUXRaTy+HAkoaoLUMJEgFcIQxpk2Am8sQQuN5kuryv0 LGCubCsDISHIs52QuO+sva1qxmXgLjyrRKfw0OOJr+cbcIhynOEc7Tiz9nOoeVGRXY Dikjfe0mQSR1CngSVskL7oVh6iNu1FyVqxOzpnm41UHSaWjYTMFy+rxlmcceH8rMu5 wMY0LhWhMOo2mcQPFBa34MBgb93iKK31mfc6lUpR308Lb2qbN+hrjiuyVF7qCb4HDb k8x345ohw+JRbCTGcoIEQX3QiEUxfVAHufuekec5KoKCwCfYBaZZwGe3URlEV6N4fu ZfAHSl6w62QEA== Message-ID: <9b755986-a86d-dfa1-f497-1d4b1d37bb5b@HIDDEN> Date: Thu, 14 Sep 2023 11:25:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 To: 65177 <at> debbugs.gnu.org Subject: udevd error with lvm-raid array leading to race condition with luks Content-Language: fr From: Yann Dupont <Yann.Dupont@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65177 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) hello everyone, we're also victims of this bug, in an even simpler use case. […] (file-system (device "/dev/mapper/VG0-DATA") (mount-point "/VG0-DATA") (type "ext4")) […] The culprit seems to be 69-dm-lvm.rules [ 18.226226] udevd[115]: failed to execute '/usr/bin/systemd-run' '/usr/bin/systemd-run --no-block --property DefaultDependencies=no --unit lvm-activate-VG0 /gnu/store/0hndg947ywdl5izvy63ny38hyywci66k-lvm2-2.03.22/sbin/lvm vy I can confirm that when using time-machine to revert to lvm2 2-03.11 versions, the VM boots. cheers,
bug-guix@HIDDEN
:bug#65177
; Package guix
.
Full text available.Received: (at 65177) by debbugs.gnu.org; 10 Aug 2023 08:02:44 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 10 04:02:44 2023 Received: from localhost ([127.0.0.1]:41268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qU0d1-0004Ck-QR for submit <at> debbugs.gnu.org; Thu, 10 Aug 2023 04:02:44 -0400 Received: from jpoiret.xyz ([206.189.101.64]:45090) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dev@HIDDEN>) id 1qU0cy-0004Cb-VG for 65177 <at> debbugs.gnu.org; Thu, 10 Aug 2023 04:02:41 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 1702218519E; Thu, 10 Aug 2023 08:02:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1691654559; h=from:from: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; bh=+YhmqLaTpmPLmh4kILOq6nYxJXbuFiSpVVMa1MhG1OA=; b=Pk7LIE6QoWRK2B5LFe08DBy5LUOJWH/o9vwKVUn0b1dvz51CEqdXiWbvc3jLzppy3dX0ze htJMX1zkHREb0zEPcGYSV0XLOuEDbQr4GMnmHDeGesrHmEq3ASvM7DhaKdzGSOw6lczOEo eSM5G2gU/CdosZ1FrZDOlRjy9aYeDseXUQacFrWn34/61RZTtk8Ju+dL3JB6gSQTanHCtw XdfuAor2C2fQQAYRubnK7/JPr7R2DOcORpFECxc2UhfplDQ/bYQw3TS4WJcSCtyZ61nqHM VD/rCnCGMZUQz9vBJVUMmV2SKB91E6cEdTiQh5e9zfhQH3YyORBB+KPYSmB90A== From: Josselin Poiret <dev@HIDDEN> To: Adrien 'neox' Bourmault <neox@HIDDEN>, 65177 <at> debbugs.gnu.org Subject: Re: bug#65177: udevd error with lvm-raid array leading to race condition with luks In-Reply-To: <58f0d91f-deb8-35c3-d1f3-2ad8a99843c0@HIDDEN> References: <58f0d91f-deb8-35c3-d1f3-2ad8a99843c0@HIDDEN> Date: Thu, 10 Aug 2023 10:02:22 +0200 Message-ID: <87ttt7e35d.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spamd-Bar: / Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@HIDDEN smtp.mailfrom=dev@HIDDEN X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 65177 Cc: Tobias Geerinckx-Rice <me@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Adrien, Adrien 'neox' Bourmault <neox@HIDDEN> writes: > Aug 9 11:40:27 localhost vmunix: [ 7.525877] udevd[515]: failed=20 > to execute '/usr/bin/systemd-run' '/usr/bin/systemd-run --no-block=20 > --property DefaultDependencies=3Dno --unit lvm-activate-HOMERAID=20 > /gnu/store/hffkn63zx2zjadawrkxpnr486frc9n74-lvm2-2.03.21/sbin/lvm=20 > vgchange -aay --autoactivation event HOMERAID': No such file or directory Since lvm2 2.03.14, the included udev rules use systemd-run to run vgchange and activate the volume group. lvm2 was updated recently from 2.03.11 to 2.03.21, then 2.03.22 (cc'ing tobias), and probably started exhibiting this behavior then. I think we can probably remove the indirection through systemd-run and directly run vgchange. Best, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmTUmY4QHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5Fhcaij56C/4rhiCk3eD8u5COuAWzzSezbDZEtSEHSIWz 8klUZ7OEaTskLO2mqWMYlj7piY/bGVFVlZGHT8djvG2myhU41hDgEst9fDrJOFLf CjyRAr1/EHFmS2/YCscA8kzFTU02NulgUMp3BlUXsyHCNuN6gwE73W2xrdNxMKgG QzEjNxN3gDdsUCj0A7zIejoH4vvopoS602uC9xDdG4kCf8WshsAcz0Vm65hNhlk3 8rwPm83cN/bO0Sym/GdQh2yNGsTHK5G5x1EUm+zmcylreFeowL9YDLpC+boCsRIP bEsapFLBoCZKt4IZD8zHUXD3UBLSq2FwNxQFOvrhXW47eUx3/PgOXyGFfvxPh7nT ujiyEg7fBvCbabmGEtwe81WAHwpmILilHFxql9VCsEtCnI1FWtf8iNwrvk4XoYaN 6HV7iHd0gHb+/MFyE6mnn3EuXXLu9GF7Uc2knYsqkuxHzQ0vqzUcvsFJNZ1BeuVo TaSRH7k1Hc6ACkmDtZH+b5YA70J0eEY= =sCw/ -----END PGP SIGNATURE----- --=-=-=--
bug-guix@HIDDEN
:bug#65177
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 9 Aug 2023 12:05:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 09 08:05:35 2023 Received: from localhost ([127.0.0.1]:38418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qThwT-0002cx-Qj for submit <at> debbugs.gnu.org; Wed, 09 Aug 2023 08:05:35 -0400 Received: from lists.gnu.org ([2001:470:142::17]:34562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <neox@HIDDEN>) id 1qTgON-0003Lj-11 for submit <at> debbugs.gnu.org; Wed, 09 Aug 2023 06:26:16 -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 <neox@HIDDEN>) id 1qTgNL-0007X8-M9 for bug-guix@HIDDEN; Wed, 09 Aug 2023 06:25:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <neox@HIDDEN>) id 1qTgNJ-0005nq-Qd for bug-guix@HIDDEN; Wed, 09 Aug 2023 06:25:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Subject:From:To:MIME-Version:Date:in-reply-to: references; bh=Adw9PiYRuFqjpyotT5LE73cuM3NBOsvlPhYnJGZeerc=; b=Lw69NOWc/LygFN qBMi37kfNs7sNzfG4kwo166DtbRqg74cu+uy1k3Grg66Bm5YJy4OiIb/tWiUtqvAgEYErONojquJj ygE7EEbnTUsD4EegqjposXe2eQGO2xf0DiVaI/N0OxZF9R2FMPaXK2CCjG+tEG0JBm/DPXTR4Trfs iP50ynnmw+NA6zX0L/dybUJuLDisEcQhPnEWgxwgYr9g/v0OTuaFTSsmsHT31QdYBJbPfdhSddbpI yzGQIaMR6c+LfLnzHRJQuDqp+Cpk78VJ1t1df9Aulam5aOTyzZ+7aH455k/KlHLlDYlcntBOlnY7h hfIcl+2MFMQ5732JwSOA==; Message-ID: <58f0d91f-deb8-35c3-d1f3-2ad8a99843c0@HIDDEN> Date: Wed, 9 Aug 2023 12:25:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US To: bug-guix@HIDDEN From: Adrien 'neox' Bourmault <neox@HIDDEN> Subject: udevd error with lvm-raid array leading to race condition with luks Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 09 Aug 2023 08:05:33 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi there. My setup is the following (LVM array containing a LUKS partition): (mapped-devices (list (mapped-device (source "HOMERAID") (target "HOMERAID-HOMERAID_data") (type lvm-device-mapping)) (mapped-device (source "/dev/mapper/HOMERAID-HOMERAID_data") (target "luks-f0a72a6c-499b-4445-8d13-21dc99337752") (type luks-device-mapping)))) (file-systems (cons* (file-system (mount-point "/") (device (uuid "2e44f3f7-bb6b-43ac-933a-e8992bf10d29" 'ext4)) (type "ext4")) (file-system (mount-point "/home") (device "/dev/mapper/luks-f0a72a6c-499b-4445-8d13-21dc99337752") (type "ext4") (dependencies mapped-devices)) (file-system (mount-point "/boot/efi") (device (uuid "DC58-946E" 'fat32)) (type "vfat")) %base-file-systems))) I use Guix System since 2022, and never had any problem booting with this configuration. But I did update my system (and reconfigure it) last week and now I can't boot. I don't have any older generation to restore (yes I'm dumb, I executed a delete-generations to show how it works to a friend), but I think the last working one was from July, 25th or just a bit older. I have in my /var/log/messages : Aug 9 11:40:27 localhost vmunix: [ 7.525877] udevd[515]: failed to execute '/usr/bin/systemd-run' '/usr/bin/systemd-run --no-block --property DefaultDependencies=no --unit lvm-activate-HOMERAID /gnu/store/hffkn63zx2zjadawrkxpnr486frc9n74-lvm2-2.03.21/sbin/lvm vgchange -aay --autoactivation event HOMERAID': No such file or directory On the screen, during boot, I obtain a wall of messages like (not the exact message, sorry, can't find on syslog) "Device HOMERAID-HOMERAID_data could not be found: does not exist or access denied" and after that the system hangs. However, I can boot successfully if and only if I press Scroll Lock just after modesetting and before this message ("Device ... not be found") appears and when I press it again (to deactivate its effect) after some seconds, the LUKS passphrase prompt appears and allows me to boot properly. I can use my system but it requires multiple tries each time x) I have to be really synchronized with the modesetting and the message xD Thank you very much. Freely, -- Adrien Bourmault Co-maintainer, GNU Boot project Elected member, XMPP Standards Foundation Associate member, Free Software Foundation Trésorier, Association Libre en Communs (https://www.a-lec.org) GPG : 1DF1132CF1658A8559025C98AAD6B069819E6979
Adrien 'neox' Bourmault <neox@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#65177
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.