From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 cB7uKE+E02R1fwAASxT56A (envelope-from ) for ; Wed, 09 Aug 2023 14:19:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OB+jKE+E02TKIwEA9RJhRA (envelope-from ) for ; Wed, 09 Aug 2023 14:19:27 +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 156A933671 for ; Wed, 9 Aug 2023 14:19:27 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Lw69NOWc; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691583567; a=rsa-sha256; cv=none; b=nzRMnhJn8ZaR3HVjlhCFjr951ZvZr9RRY3wG7To3yrK6QxrU0eTTiHWavRw5x8jMf+Anvk vkxN5FFdqYg1zRkZq2FkIaXzTGhKq83kb9rqT2clp6+ntDZGb9fv9DatKRBCH/vgLiADJ3 Js7X41uk62DoDXG8kyNtTolRvNpqnsTF4OPPf1olFyki6q+/LHC/ixNGFT5ZKE6jX3PAVg rN8jecEB0OeT1UWvYrOc6FcTcSDLaCtETBmxLrTdSmSQqdkmlaoroGUrkisnCQEEr2Llhz GK4GPTXqSplfm7z4M7aZcWjyWdTCZisK4dED1+i4LgiV+lh4QFAI/gfXS+N2tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691583567; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Adw9PiYRuFqjpyotT5LE73cuM3NBOsvlPhYnJGZeerc=; b=Nf/L3+fKWCfftgm7Z4s6P3PnXK8J5ZebAeAapDnfRcLj6avHLGowRluSQL/uHB2lZPk2oO OTQ01yRgio1BCCUvkU/lvGe2LX0YacZPbNpwkU6piTVtonA1XFPHKy/zWcwpMAZ1Zr/Odf rdeotgANU37Ar1DwFyiCcavZ1yDCS5EWqfZkMriif2KM++ZFVMtUy5VFNkFq+yICZOiwce fd3zb9uQQ5BUyMsnIxFaW3uq6cQy88/FiXz5WiXid9WsOovmGbVo06x1fn3D8BLTGyurkS NjB7RIWNmjkcWhZS1NYJbZ+o8WKYabpbez9TFiOjnLrOBmr9wxtW0WiFDgASLw== 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=Lw69NOWc; 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=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTi9c-0005Nj-Jr; Wed, 09 Aug 2023 08:19:08 -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 1qThwz-0001iC-RC for bug-guix@gnu.org; Wed, 09 Aug 2023 08:06:07 -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 1qThww-0003Rn-Ap for bug-guix@gnu.org; Wed, 09 Aug 2023 08:06:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qThww-0002di-5I for bug-guix@gnu.org; Wed, 09 Aug 2023 08:06: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: Adrien 'neox' Bourmault Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 09 Aug 2023 12:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65177 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 65177@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169158273510109 (code B ref -1); Wed, 09 Aug 2023 12:06:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Aug 2023 12:05:35 +0000 Received: from localhost ([127.0.0.1]:38418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qThwT-0002cx-Qj for submit@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 ) id 1qTgON-0003Lj-11 for submit@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 ) id 1qTgNL-0007X8-M9 for bug-guix@gnu.org; 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 ) id 1qTgNJ-0005nq-Qd for bug-guix@gnu.org; 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@gnu.org> 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 From: Adrien 'neox' Bourmault Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Wed, 09 Aug 2023 08:05:33 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Wed, 09 Aug 2023 08:19:07 -0400 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: -6.87 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 156A933671 X-Spam-Score: -6.87 X-TUID: 7iECikAlIpHl 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