The other hotplug scripts have #!/bin/bash but vscsi has #!/bin/sh, and I think that trap in xen-hotplug-common.sh is a bashism, or at least isn''t liked by the Debian default shell dash. What is the bug here? The incompatible shell specified in vscsi hotplug script, or "trap sigerr ERR" in xen-hotplug-common.sh? Thanks James
James Harper writes ("[Xen-devel] /bin/sh vs trap in vscsi hotplug script"):> The other hotplug scripts have #!/bin/bash but vscsi has #!/bin/sh, and I think that trap in xen-hotplug-common.sh is a bashism, or at least isn''t liked by the Debian default shell dash. > > What is the bug here? The incompatible shell specified in vscsi hotplug script, or "trap sigerr ERR" in xen-hotplug-common.sh?I think "trap ... ERR" is a very useful feature which it would be irritating to do without. So I should change the #! Ian.