[Pkg-sysvinit-devel] Bug#716948: Bug#716948: initscripts: Removes bootlogd conf files even if bootlogd is installed

Steve Langasek vorlon at debian.org
Tue Jul 16 01:37:51 UTC 2013


Control: reassign -1 dpkg
Control: tags -1 patch

On Mon, Jul 15, 2013 at 03:23:30PM -0700, Steve Langasek wrote:
> > I might perhaps consider looking into reviewing and applying tested
> > patches if someone wanted to provide them, but that's not a thrilling
> > prospect either.

> I will look at fixing dpkg-maintscript-helper for this issue.

Attached is a tested patch for this.  I'm not thrilled about invoking
dpkg-query -S here, but I don't see any other way to get this information.
It also still doesn't give perfect results; if a conffile moves from package
x to package y, and package x is unpacked before package y, a modified
conffile will be left behind as <conffile>.dpkg-bak and the pristine
conffile from the new package will be unpacked in its place.  But I believe
it is at least as good as the existing code in all cases.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dpkg-maintscript-helper-when-a-conffile-is-no-longer.patch
Type: text/x-diff
Size: 5087 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20130715/37b95daf/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20130715/37b95daf/attachment.sig>


More information about the Pkg-sysvinit-devel mailing list