systemd/rules
Wouter Verhelst 565754a37e Mark nbd as inactive until connected (#2422)
Currently, 99-systemd.rules.in contains a line for network block
devices, which mark them as inactive until the first change event, and
as active from then on forward. This is not correct. A network block
device can be connected or disconnected; this state is signalled by the
presence or absense of a "pid" file, which contains the PID of the
nbd client userspace process that started the connection.

Update the rules file so that it checks for the presence of that file to
decide what to set SYSTEMD_READY to.

Note that current kernels do issue a change event upon connecting the
device, but not yet upon disconnecting. While it's possible to wait
until that's been fixed, the behaviour of the rule with TEST!="pid" in
the absence of a proper uevent is exactly the same as the behaviour of
the old rule; so it should be safe to apply now.

Signed-off-by: Wouter Verhelst <w@uter.be>
2016-04-18 16:29:10 +02:00
..
.gitignore
50-udev-default.rules 50-udev-default.rules: don't run anything but REMOVE_CMD on remove 2015-03-27 15:42:04 +01:00
60-block.rules rules: whitelist xvd* devices 2015-06-08 18:22:21 -07:00
60-cdrom_id.rules rules: clean up stale CD drive mounts after ejection 2015-01-28 17:04:06 +01:00
60-drm.rules
60-evdev.rules rules: finish incomplete rename 2015-04-12 10:20:24 -04:00
60-persistent-alsa.rules
60-persistent-input.rules
60-persistent-storage-tape.rules
60-persistent-storage.rules UML: Fix block device setup 2015-08-09 18:07:55 +02:00
60-persistent-v4l.rules
60-serial.rules rules: merge tty and serial rules file 2015-03-12 17:22:19 +01:00
64-btrfs.rules
70-mouse.rules hwdb: add rule and first entry for PS/2 mice 2014-12-24 08:08:23 +10:00
75-net-description.rules
75-probe_mtd.rules
78-sound-card.rules rules: Add more firewire properties for sound, to be closer to USB and PCI 2015-04-23 13:40:54 +02:00
80-drivers.rules
80-net-setup-link.rules udev: import the full db on MOVE events for devices without dev_t 2014-09-09 15:03:49 +02:00
99-systemd.rules.in Mark nbd as inactive until connected (#2422) 2016-04-18 16:29:10 +02:00
Makefile