* Debian Bug Tracking System [2005-08-15 10:48:38 -0700]: > At Mon, 15 Aug 2005 19:17:19 +0200, > Sergio Gelato wrote: > > > 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" = "" ] . > > Why? > > % dpkg --compare-versions "" lt 0.0.20040329-4 > > is true.
Yes, but on new installs you don't want to "assume old behaviour"; you want to assume the *default* behaviour, as specified in hotplug.templates. And that appears to be "auto", not "hotplug". In any event, it's bad form to override defaults already stored in the debconf database: one of debconf's most important features is precisely the ability to answer all questions in advance. > Anyway, hotplug already drops NET_AGENT_POLICY, so I have nothing to do with > this any more. I don't understand this. Even if you are trying to say that future versions of hotplug will not use NET_AGENT_POLICY (and I haven't seen anything to that effect in the latest changelog.Debian), that doesn't invalidate the bug for Debian sarge. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

