1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/udev
Peter Rajnoha 4c267c7286 udev: fix SYSTEMD_READY assignment for foreign devices in lvmetad rules
Some devices, similarly to us, are not prepared after ADD event, but
after an extra CHANGE event when the device is properly set up.
This includes MD and loop devices. This patch fixes the
SYSTEMD_READY assignment that is crucial for proper functionality
of SYSTEMD_WANTS that we use to instantiate a lvm2-pvscan@.service
systemd service to activate the VG/LVs (see also bug
info).

All that extra handling of foreign devices should eventually be moved
to rules which process those devices primarily (MD and loop)! We should
only check a dedicated variable whether the device is usable or not.
2013-12-11 13:46:15 +01:00
..
10-dm.rules.in udev: make subsystem rules responsible for importing subsystem flags 2013-09-30 11:11:18 +02:00
11-dm-lvm.rules.in udev: proper reset of DM_UDEV_DISABLE_OTHER_RULES_FLAG and honour this flag in lvmetad rules 2013-10-29 13:31:00 +01:00
12-dm-permissions.rules add copyright lines 2009-10-26 22:42:07 +00:00
13-dm-disk.rules.in udev: add support for "NOSCAN" flag 2013-10-08 13:43:14 +02:00
69-dm-lvm-metad.rules.in udev: fix SYSTEMD_READY assignment for foreign devices in lvmetad rules 2013-12-11 13:46:15 +01:00
95-dm-notify.rules.in udev: udev rules cleanup 2012-06-27 12:11:56 +02:00
Makefile.in make: correct sed line in udev's Makefile 2013-10-22 15:13:58 +02:00