Package: hotplug
Version: 0.0.20040329-22

The config script says:

if dpkg --compare-versions "$2" lt 0.0.20040329-4; then
  # assume old behaviour
  NET_AGENT_POLICY="hotplug"
fi

Unfortunately, this doesn't work well on new installs, where [ "$2" = "" ] .
Other packages resolve this along the lines of

if [ -n "$2" ] && dpkg --compare-versions "$2" lt 0.0.20040329-4; then

This bug is especially painful on unattended (e.g., FAI) installs;
it causes any preseeding of hotplug/net_agent_policy in the debconf 
database to be overridden.

As a workaround for sarge, one can do the preseeding via 
/etc/default/hotplug.usb (which gets deleted by the postinst script);
but that's inelegant.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to