From patchwork Wed Jan 15 15:20:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 2700 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 47yWH04FMRz3xYG for ; Wed, 15 Jan 2020 15:20:28 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 47yWGy3qBmz6HB; Wed, 15 Jan 2020 15:20:26 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 47yWGx64Gdz2ydP; Wed, 15 Jan 2020 15:20:25 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 47yWGv4ZdMz2yDC for ; Wed, 15 Jan 2020 15:20:23 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 47yWGv3cLYz4PG; Wed, 15 Jan 2020 15:20:23 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=201909ed25519; t=1579101623; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vCLDj55L7bi/VMHKBPYkzT6riUi9y2otPPPBckz0eyc=; b=eh2jy+Axo8uLG+0R4wKO9uia5LMkIDW34wB21vZUBUyhCNtylG+7bzdn7SYnS1kCeHu+xb 3HZ8Ka4a7OdW4CCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201909rsa; t=1579101623; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vCLDj55L7bi/VMHKBPYkzT6riUi9y2otPPPBckz0eyc=; b=FqsfOP30VDWiV2GfLkaLue1RoeiNNhVRonTHpzsmLpmVt+KdGQR2pCe/c/so4tKAscg9SU zBSL8MGjqBMjeLyZyC/spYmaysTOXorfu6nMvR3jU53Rh0tDsxnxp726wkltjGe15iJ5sq HMVzbn3wbTc0aW39XI+d5pJPmry7uvg2B0AlMfdgRCXqJfy9zYVXNVC84KSWTrEpnyw8Fp FV4Zb4zZxKpHEu65q0nnJwAoZBzTZXiRnNyzGEWC8ZeKHSRuZnRkOdSlbkArk1BpD6E0ph buXfz9ec9KE0ZhvgD5tWFeFsSy/Ne3xeBnxheUF1eQHluQf63aPASLPRGas1GA== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 4/5] lvm2: Create lock files in /run/lvm Date: Wed, 15 Jan 2020 15:20:11 +0000 Message-Id: <20200115152012.12345-4-michael.tremer@ipfire.org> In-Reply-To: <20200115152012.12345-1-michael.tremer@ipfire.org> References: <20200115152012.12345-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" The default is /var/lock which is not mounted at the time when udev is initialising the volumes. Therefore after a reboot, LVM devices won't show up unless pvscan is executed manually. Signed-off-by: Michael Tremer --- lfs/lvm2 | 1 + 1 file changed, 1 insertion(+) diff --git a/lfs/lvm2 b/lfs/lvm2 index b95c47517..a9e02b692 100644 --- a/lfs/lvm2 +++ b/lfs/lvm2 @@ -80,6 +80,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) --with-usrlibdir=/usr/lib \ --enable-pkgconfig \ --with-udevdir=/lib/udev/rules.d \ + --with-default-locking-dir=/run/lvm \ --enable-lvmetad \ --enable-udev_rules \ --enable-udev_sync