]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
rules: whitelist xvd* devices 114/head
authorAlex Crawford <alex.crawford@coreos.com>
Thu, 4 Jun 2015 22:54:35 +0000 (15:54 -0700)
committerAlex Crawford <alex.crawford@coreos.com>
Tue, 9 Jun 2015 01:22:21 +0000 (18:22 -0700)
Xen disks need to be whitelisted as well.

rules/60-block.rules
rules/60-persistent-storage.rules

index a69d6480231ca4189c04c772867bf0f0b59431a7..c74caca49f0c9bd96df9a4c53105ddf0909ef6b2 100644 (file)
@@ -8,4 +8,4 @@ ACTION=="add", SUBSYSTEM=="module", KERNEL=="block", ATTR{parameters/events_dfl_
 ACTION=="change", SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST=="block", ATTR{block/*/uevent}="change"
 
 # watch metadata changes, caused by tools closing the device node which was opened for writing
-ACTION!="remove", SUBSYSTEM=="block", KERNEL=="loop*|nvme*|sd*|vd*", OPTIONS+="watch"
+ACTION!="remove", SUBSYSTEM=="block", KERNEL=="loop*|nvme*|sd*|vd*|xvd*", OPTIONS+="watch"
index 64c5f1cfdd95dbd0e0f0a870773b02132a0e7235..2daeb6db4262c53ce57b6adba1625c23debb13ed 100644 (file)
@@ -6,7 +6,7 @@
 ACTION=="remove", GOTO="persistent_storage_end"
 
 SUBSYSTEM!="block", GOTO="persistent_storage_end"
-KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|bcache*|xvd*", GOTO="persistent_storage_end"
+KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*", GOTO="persistent_storage_end"
 
 # ignore partitions that span the entire disk
 TEST=="whole_disk", GOTO="persistent_storage_end"