Skip to contentSkip to conversation

vif-script not being invoked on domain shutdown/destroy?

DISCUSSION Matt Ayres 2 participants 2 messages Nov 14, 2005 – Nov 15, 2005

lore
Share & tools
lore

Matt Ayres

author
#0 lore raw

This is on a snapshot from 11/12/2005 of unstable.

I wrote some quick debug code into vif-route to see what is going on during runtime, ex:

echo "xenbus_path = $XENBUS_PATH" >>/root/route.log echo "command = $command" >>/root/route.log

After starting/stopping a domain a few times it contains:

xenbus_path = backend/vif/20/0
command = online
xenbus_path = backend/vif/21/0
command = online

Is this a bug or is there some new way to have commands run on domain shutdown?

#1 lore raw
Quoted 10 lines · Matt Ayres

This is on a snapshot from 11/12/2005 of unstable.

I wrote some quick debug code into vif-route to see what is going on during runtime, ex:

echo "xenbus_path = $XENBUS_PATH" >>/root/route.log echo "command = $command" >>/root/route.log

After starting/stopping a domain a few times it contains:

Quoted 7 lines

xenbus_path = backend/vif/20/0
command = online
xenbus_path = backend/vif/21/0
command = online

Is this a bug or is there some new way to have commands run on domain shutdown?

It's a bug, thanks. I'll fix this tomorrow.

Ewan.