[PKG-Openstack-devel] Bug#773692: Please properly remove conffiles

Thomas Goirand zigo at debian.org
Tue Dec 23 10:22:38 UTC 2014


Note: removing the BTS from the discussion.

On 12/23/2014 01:21 AM, Gaudenz Steinlin wrote:
>> I am unsure why it was still there on the DSA machine. Maybe because it
>> was modified by the DSA? Or because you didn't do --purge when
>> upgrading? Anyway, it's normal CONFFILES as much as I know.
> 
> No there is a bug in your package.

I agree. But see below.

> Nobody should have to use --purge to
> remove unmodified conffiles on upgrade that are no longer part of the
> package. Instead of just dropping these files from the package you
> should use dpkg-maintscript-helper like this in the preinst, postinst
> and postrm maintainer scripts:
> 
> dpkg-maintscript-helper rm_conffile \
>                conffile prior-version package -- "$@"
> 
> See the dpkg-maintscript-helper manpage section on "Removing a conffile"
> for further details. There is also more documentation about how to
> properly move conffiles from one package to another in the Debian wiki.

I don't think it is reasonable to introduce this kind of change during
the freeze. The potential harm of doing something bad is IMO greater
than the good we're trying to add.

> Also a note in NEWS.Debian about the changes location would be nice.

That is easier and less error prone.

> I'm not reopening these bug reports as I don't want to play bug
> ping-pong, but I firmly believe that there is a bug in your package that
> should be fixed.
> 
> Gaudenz

I agree there's an issue, but I'm not sure it's worth the effort,
unfortunately. I don't think it would be hard for an admin to fix it by
deleting the duplicate logrotate files.

your thoughts?

Cheers,

Thomas




More information about the Openstack-devel mailing list