Sjoerd Simons wrote: > On Wed, Jul 18, 2007 at 01:54:03PM +0200, Laurent Bigonville wrote: >> Package: dbus >> Severity: normal >> Version: 1.1.1-3 >> >> Hi, >> >> I don't think the preinst script should use hardcoded md5 for config >> files. There is an other method to check md5, please see: >> http://wiki.debian.org/DpkgConffileHandling > > The md5sum was hardcoded for a reason :).. See: > > r357 | sjoerd | 2005-11-10 08:49:15 +0000 (Thu, 10 Nov 2005) | 1 line > > Pass the md5sum to rm_conffile, because dpkg looses track of it when > dbus-1-util is purged or upgraded > > We could potentially remove this though. As the move was made before etch, so > we don't have to support it anymore strictly.. But i don't see any real reason > to remove it or to try to fix it while it's not broken :)
Oops, that means I was too hasty with my commit. Should I revert the change then? Do you see any problems? About dpkg losing track of the md5sum: In case dbus-1-utils is purged, it shouldn't be an issue, as the conffile would be removed in this case anyway, right? The only problem I can see is, that dbus Replaces dbus-1-utils. So the conffile can change ownership and move from the dbus-1-utils to the dbus package (in which case the PKGNAME would be wrong). This case can only happen though, when rm_conffile in dbus.preinst was added after the Replaces. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature

