On 2011-02-09 13:06 +0100, Jonathan Nieder wrote:

> (-cc: debian-dpkg)

Then please CC me. :-)

> Sven Joachim wrote:
>> On 2011-02-09 11:25 +0100, Jonathan Nieder wrote:
>
>>> Yes, sudoers is co-owned between sudo and sudo-ldap and needs to be
>>> removed when both are purged.
>>>
>>> I think ucf can handle that.
> [...]
>> You still need to remove the file yourself on purge, ucf does not do
>> that for you.  How are you going to do that?
>
> Check if I own the file according to ucf, and if so, remove it.
> Otherwise, leave it alone.
>
> Or do you mean when postrm runs with ucf not installed?

Certainly.  You cannot expect ucf being present when sudo or sudo-ldap
is being purged.

> I haven't
> checked what the best practice is, but at worst postrm could parse ucf
> data on its own (I have seen packages doing that before).

Brrr.  There is no guarantee that any ucf data are there, and if they
are present, they may be horribly outdated.

> Do you have a better idea?

How about merging sudo-ldap into sudo?  At least the rationale for the
split given in debian/changelog (see 1.6.8p12-1 entry) does not seem
very convincing these days (autobuilders do not use sudo anymore AFAIK,
and libldap-2.4-2 has a popcon of 88%, suggesting that the additional
dependency is not a problem for most users).

Cheers,
       Sven



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to