From 629d02948f5b337cd3d2aa4f458c4f6e867e5256 Mon Sep 17 00:00:00 2001 From: Rusty Bird Date: Thu, 18 Jan 2018 18:43:40 +0000 Subject: [PATCH] Don't let udev parse 'file' driver .img anywhere --- system-config/00-qubes-ignore-devices.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-config/00-qubes-ignore-devices.rules b/system-config/00-qubes-ignore-devices.rules index b60558f..b241521 100644 --- a/system-config/00-qubes-ignore-devices.rules +++ b/system-config/00-qubes-ignore-devices.rules @@ -1,6 +1,6 @@ # do not edit this file, it will be overwritten on update -ACTION!="remove", SUBSYSTEM=="block", KERNEL=="loop*", ATTR{loop/backing_file}=="/var/lib/qubes/*", ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}="1", ENV{UDEV_DISABLE_PERSISTENT_STORAGE_RULES_FLAG}="1" +ACTION!="remove", SUBSYSTEM=="block", KERNEL=="loop*", ATTR{loop/backing_file}=="*/appvms/*/*.img*|*/vm-templates/*/*.img*", ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}="1", ENV{UDEV_DISABLE_PERSISTENT_STORAGE_RULES_FLAG}="1" ACTION!="remove", SUBSYSTEM=="block", KERNEL=="xvd*", ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}="1", ENV{UDEV_DISABLE_PERSISTENT_STORAGE_RULES_FLAG}="1" # ENV{DM_NAME} not available yet # Template VM disks