Re: [dm-devel] [PATCH v2 2/2] kpartx.rules: check for skip_kpartx on synthetic uevents

2020-04-03 Thread Benjamin Marzinski
On Fri, Apr 03, 2020 at 01:19:14PM +0200, mwi...@suse.com wrote: > From: Martin Wilck > > The current test to detect "spurious" uevents, and thus whether to > import DM_SUBSYSTEM_UDEV_FLAG1 (the flag for the "skip_kpartx" option) > from the udev db is wrong. In 10-dm.rules, DM_UDEV_PRIMARY_SOURCE

[dm-devel] [PATCH v2 2/2] kpartx.rules: check for skip_kpartx on synthetic uevents

2020-04-03 Thread mwilck
From: Martin Wilck The current test to detect "spurious" uevents, and thus whether to import DM_SUBSYSTEM_UDEV_FLAG1 (the flag for the "skip_kpartx" option) from the udev db is wrong. In 10-dm.rules, DM_UDEV_PRIMARY_SOURCE_FLAG is imported from the db if it isn't set, meaning that it's always 1 f