I think this is basically only a problem on upgrade from older versions of 
krb5, in particular from prior to the 1.12 era to the current packaging.
As part of adding support for systemd units, I decided to drop support for the 
run_kadmind variable, and bungled the upgrade path.
This is an issue for upgrades from trusty or precise to anything newer if you 
are running krb5-admin-server.
There's a very simple work around: remove run_kadmind from 
/etc/default/krb5-admin-server.
I'll fix for Debian shortly.
What Ubuntu versions is this worth doing a fix for?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to krb5 in Ubuntu.
https://bugs.launchpad.net/bugs/1817376

Title:
  krb5-admin-server postinst has broken debconf if RUN_KADMIND set in
  /etc/default/krb5-admin-server

Status in krb5 package in Ubuntu:
  Confirmed

Bug description:
  Package installation fails on postinst due to broken debconf when
  /etc/default/krb5-admin-server sets RUN_KADMIND to a value.

  This happens because the .config script [0] sets debconf question krb5
  -admin-server/kadmind to the defaults file value when set to a value.
  But the .templates file [1] has no entry for this question resulting
  in a lookup failure.

  [0] 
https://git.launchpad.net/ubuntu/+source/krb5/tree/debian/krb5-admin-server.config#n16
  [1] 
https://git.launchpad.net/ubuntu/+source/krb5/tree/debian/krb5-admin-server.templates

  This bug seems to go back to at least Xenial (and also affects debian
  packaging too). We worked around this locally by removing RUN_KADMIND
  from our local defaults file, but this was an annoying bug to sort out
  and should probably be fixed. That said I'm not sure if it would be
  more appropraite to remove the db_set from [0] or add the question
  back to [1].

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/krb5/+bug/1817376/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to