[Pkg-xen-devel] Bug#588406: A full year without a fix?

Federico Heinz fheinz at vialibre.org.ar
Wed Jul 6 10:48:42 UTC 2011

I can confirm this bug still is in squeeze... a full year after being first 
reported, despite the fact that it includes the fix?.

I can also confirm that the workaround proposed here works, although I am not 
sure that it's the best possible solution, maybe it can be set in some 
confoguration file, bit if so, I have benn unable to find it.

AFAICT, XEN_SCRIPT_DIR is a compile-time option, and can't be configured.

A more robust solution, which survives relocation of /etc/xen/scripts, would 
be to change the same lines to this instead, since `dir' gets set to the 
`block' script's directory as the first order of business in it.

[ -x $dir/block-"$t" ] && \
  $dir/block-"$t" "$command" $node

On the other hand, I don't know whether Xen itself survives relocation of the 
script directory, so maybe the point is moot.

More information about the Pkg-xen-devel mailing list