From 1029f5af594095ffbd8daedeb27ba59602107812 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Tue, 19 Feb 2013 04:59:27 +0100 Subject: [PATCH] dom0+vm/udev: force QUBES_EXPOSED variable available to block_add_change script --- misc/qubes_block.rules | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/qubes_block.rules b/misc/qubes_block.rules index 14503ee..ea8c28d 100644 --- a/misc/qubes_block.rules +++ b/misc/qubes_block.rules @@ -9,6 +9,7 @@ ENV{MAJOR}=="202", GOTO="qubes_block_end" # Skip device-mapper devices ENV{MAJOR}=="253", GOTO="qubes_block_end" +IMPORT{db}="QUBES_EXPOSED" ACTION=="add", IMPORT{program}="/usr/lib/qubes/block_add_change" ACTION=="change", IMPORT{program}="/usr/lib/qubes/block_add_change" ACTION=="remove", RUN+="/usr/lib/qubes/block_remove"