[Pkg-iscsi-maintainers] Bug#832344: Bug#832344: open-isns-server: unowned files after purge (policy 6.8, 10.8): /etc/isns/auth_key

Christian Seiler christian at iwakd.de
Sun Jul 24 16:39:32 UTC 2016


On 07/24/2016 05:35 PM, Andreas Beckmann wrote:
> On 2016-07-24 17:10, Christian Seiler wrote:
>> Thinking about this again: since this package uses debconf
>> anyway, it's probably much easier to just ask the user whether
>> to delete auth_key or not in -server's postrm (with the default
>> being yes), instead of doing this pseudo-refcounted dance in
>> all postrms. It's probably also more transparent to the user.
> 
> If multiple packages make use of this facility, this sounds like
> management of the auth_key should be factored out to a separate package
> that is used by all the consumers. So you could get proper refcounting
> via Depends: isns-auth-key

The problem is that there are too many different ways of how that
file could be created, so I can't have a package actually own it
(otherwise I'd have made libisns0 itself own it), because there is
no sane default for it. (If you want to run a server, you'd want
to generate it; but if you don't want to run a server, you might
want to copy it from the server you've generated it on.) And if I
make it a default-missing conffile for another package, piuparts
will complain about a conffile of another package being modified.

I'll hence go the debconf route for now. But thank you for the
suggestion.

Regards,
Christian



More information about the Pkg-iscsi-maintainers mailing list