dom0+vm/udev: force QUBES_EXPOSED variable available to block_add_change script

This commit is contained in:
Marek Marczykowski 2013-02-19 04:59:27 +01:00
parent aa97910d49
commit af8cb473b2

View File

@ -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"