mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
script's lock before doing the cleanup, to avoid a race that causes the message "xenstore-list: could not list path backend/vbd/40" in /var/log/hotplug.log, with a subsequent refusal to create the domain, after a domain reboot. Signed-off-by: Ewan Mellor <ewan@xensource.com>
6 lines
434 B
Plaintext
6 lines
434 B
Plaintext
SUBSYSTEM=="xen-backend", KERNEL=="vbd*", RUN+="/etc/xen/scripts/block $env{ACTION}"
|
|
SUBSYSTEM=="xen-backend", KERNEL=="vtpm*", RUN+="/etc/xen/scripts/vtpm $env{ACTION}"
|
|
SUBSYSTEM=="xen-backend", KERNEL=="vif*", ACTION=="online", RUN+="$env{script} online"
|
|
SUBSYSTEM=="xen-backend", KERNEL=="vif*", ACTION=="offline", RUN+="$env{script} offline"
|
|
SUBSYSTEM=="xen-backend", ACTION=="remove", RUN+="/etc/xen/scripts/xen-hotplug-cleanup"
|