From: mwilck@suse.com Subject: [PATCH v2 0/2] multipath-tools: fixes for kpartx.rules and skip_kpartx Date: Fri, 3 Apr 2020 13:19:12 +0200 Message-ID: <20200403111914.30717-1-mwilck@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Christophe Varoqui , Benjamin Marzinski Cc: dm-devel@redhat.com, Martin Wilck , vliaskovitis@suse.com List-Id: dm-devel.ids From: Martin Wilck Hi Christophe, Ben, The "skip_kpartx" option serves to prevent creation of partitions on top of multipath devices where that's undesired, e.g. on VM hosts which are supposed to provide the unpartitioned dm devices to guests. This is broken with our current udev rules, because partition creation is only suppressed on "primary" uevents, and not on "sporadic" ones. This series fixes the issue. It replaces my previous patch "kpartx.rules: check for skip_kpartx if DM_ACTIVATION is unset", which turned out to be insufficient. Regards, Martin Martin Wilck (2): kpartx.rules: honor DM_UDEV_DISABLE_OTHER_RULES_FLAG kpartx.rules: check for skip_kpartx on synthetic uevents kpartx/kpartx.rules | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) -- 2.25.1