public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
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	[thread overview]
Message-ID: <20200115152012.12345-4-michael.tremer@ipfire.org> (raw)
In-Reply-To: <20200115152012.12345-1-michael.tremer@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 685 bytes --]

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 <michael.tremer(a)ipfire.org>
---
 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
-- 
2.20.1


  parent reply	other threads:[~2020-01-15 15:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-15 15:20 [PATCH 1/5] lvm2: Ship with core system Michael Tremer
2020-01-15 15:20 ` [PATCH 2/5] lvm2: Build with support for udev Michael Tremer
2020-01-15 15:20 ` [PATCH 3/5] lvm2: Enable lvmetad Michael Tremer
2020-01-15 15:20 ` Michael Tremer [this message]
2020-01-15 15:20 ` [PATCH 5/5] lvm2: Add initscript for lvmetad Michael Tremer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200115152012.12345-4-michael.tremer@ipfire.org \
    --to=michael.tremer@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox