On Sun, Dec 09, 2007 at 10:01:14AM +1100, Brian May wrote:
> >>>>> "Kumar" == Kumar Appaiah <[EMAIL PROTECTED]> writes:
> 
>     Kumar> The gzipped log of the piuparts run for heimdal-kdc is
>     Kumar> attached. The problem is that the process
> 
>     Kumar> Install Etch heimdal-kdc -> upgrade to sid -> purge
> 
>     Kumar> seems to let the following files remain unremoved:
> 
>     Kumar>    /etc/ldap/schema owned by: heimdal-kdc
>     Kumar> /etc/ldap/schema/hdb.schema owned by: heimdal-kdc
> 
>     Kumar> Please consider fixing this bug, as it is a Lenny release
>     Kumar> recommendation [1].
> 
> Hello,
> 
> Wasn't dpkg modified in sid to automatically purge conffiles on
> package purge? Or was I confused?

As I have said, dpkg will purge only conffiles belonging to the
package. The issue here is that /etc/ldap/schema/hdb.schema is part of
the Etch package but not of the Sid package. So, during upgrade, dpkg
does not remove it, and your package disowns it. So, a subsequent
purge will NOT remove it.

Please see #454628 for the case you mention.

> Removing this file will break slapd, as not only will it not be able
> to start anymore, but even if you delete the reference to this file in
> slapd.conf, the database will no longer be valid (I am not sure how
> slapd deals with this).

If this is the case, why not allow the sid package to contain and own
the file? I am sorry if I am being ignorant, but if the upgrade can
still possess this file, why not let it have it?

> Anyway, I get your point about leaving behind unwanted cruft, but this
> is also an important issue. The sysadmin may have forgotten that the
> ldap schema depended on the Heimdal file before purging Heimdal.

I agree. You are not under any pressure to get this bug out of the
away as soon as possible. But I would request you not to tag this
wontfix at the moment, before a consensus emerges on how to tackle
bugs like this.

Thanks.

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036

Attachment: signature.asc
Description: Digital signature

Reply via email to