]> git.ipfire.org Git - thirdparty/systemd.git/commit
rules: set SYSTEMD_READY=0 on DM_UDEV_DISABLE_OTHER_RULES_FLAG=1 only with ADD event...
authorLukáš Nykrýn <lnykryn@redhat.com>
Tue, 12 Apr 2016 05:44:28 +0000 (07:44 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Tue, 12 Apr 2016 05:44:28 +0000 (07:44 +0200)
commit35a6750d9e26b26b423fbe815bead7d750210d8d
tree65d5670c9d936f0c1c700e3b03e26662b8502ea1
parentdbab702a2a2ba942d75f9682e2ab11f9b55df683
rules: set SYSTEMD_READY=0 on DM_UDEV_DISABLE_OTHER_RULES_FLAG=1 only with ADD event (#2747)

The "SYSTEMD_READY=0" will cause automatic unmount
of mountpoint that is on top of such DM device
if this is used with multipath which sets
DM_UDEV_DISABLE_OTHER_RULES_FLAG in case
we have a CHANGE event thatcomes after DM multipath
device reload when one of the paths is down or up.

See https://bugzilla.redhat.com/show_bug.cgi?id=1312011
rules/99-systemd.rules.in