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 Andreas