← Back to team overview

enterprise-support team mailing list archive

[Bug 1817376] [NEW] krb5-admin-server postinst has broken debconf if RUN_KADMIND set in /etc/default/krb5-admin-server

 

Public bug reported:

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].

** Affects: krb5 (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- krb5-admin-server postinst has broken debconf if RUN_KADMIND set to false in /etc/default/krb5-admin-server
+ krb5-admin-server postinst has broken debconf if RUN_KADMIND set in /etc/default/krb5-admin-server

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to krb5 in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1817376

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

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


Follow ups