All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND 0/2] LVM2: fix lvmetad udev rules for CHANGE events
@ 2018-04-16 18:53 ` Martin Wilck
  0 siblings, 0 replies; 10+ messages in thread
From: Martin Wilck @ 2018-04-16 18:53 UTC (permalink / raw)
  To: Zdenek Kabelac, Peter Rajnoha
  Cc: dm-devel, Martin Wilck, Alasdair G Kergon, lvm-devel

(This has been sent to lvm-devel on Dec 21, 2017, and apparently got
lost. Resending).

The current logic in 69-dm-lvm-metad.rules is broken for the default
"enable-udev-systemd-background-jobs" case. Detailed information about the
problem can be found in the commit message of the 2nd patch in the set.
That patch also contains the tiny actual change of this patch set: if
systemd background jobs are active, the variables SYSTEMD_ALIAS and
SYSTEMD_WANTS are also set for CHANGE events, not only for ADD.

The reason that the patch set is quite large nonetheless is that I wanted
the comments in the rules file to match the actual behavior. Substitution
of multi-line comments is very hard, if not impossible, with the string
substitution approach in the current Makefile. That necessitates the first
patch, which introduces no functional change.

Martin Wilck (2):
  lvm2: 69-dm-lvm-metad.rules: explicit pvscan rule
  lvm2: 69-dm-lvm-metad.rules: set systemd vars on "change"

 udev/69-dm-lvm-metad.rules.in | 53 +++++++++++++++++++++++++++++++++++++++----
 udev/Makefile.in              |  9 +++++---
 2 files changed, 54 insertions(+), 8 deletions(-)

-- 
2.16.1

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-04-17  9:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-16 18:53 [PATCH RESEND 0/2] LVM2: fix lvmetad udev rules for CHANGE events Martin Wilck
2018-04-16 18:53 ` Martin Wilck
2018-04-16 18:53 ` [PATCH RESEND 1/2] lvm2: 69-dm-lvm-metad.rules: explicit pvscan rule Martin Wilck
2018-04-16 18:53   ` Martin Wilck
2018-04-17  9:46   ` Peter Rajnoha
2018-04-17  9:46     ` Peter Rajnoha
2018-04-16 18:53 ` [PATCH RESEND 2/2] lvm2: 69-dm-lvm-metad.rules: set systemd vars on "change" Martin Wilck
2018-04-16 18:53   ` Martin Wilck
2018-04-17  9:48   ` Peter Rajnoha
2018-04-17  9:48     ` Peter Rajnoha

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.