[Bug 1404351] [NEW] krb5-config missing debconf-set-selections variable
Eric Teeter
teetere at charter.net
Fri Dec 19 18:29:58 UTC 2014
Public bug reported:
krb5-config.config seams to be missing a variable as there is no way to
stop a dialog box from poping up in my script for installing Kerberos 5.
I am using Ubuntu 14.04.01 LTS
I get error message:Use of uninitialized value $admin in string eq at
/var/lib/dpkg/info/krb5-config.config line 171, <STDIN> line 20.
Then I get dialog box titled: "Configuring krb5-admin-server"
Stating:
Setting up a Kerberos Realm
This package contains the administrative tools required to run the Kerberos master server. However, installing this package does not automatically set up a Kerberos realm. This can be done later by running the "krb5_newrealm" command.
Please also read the /usr/share/doc/krb5-kdc/README.KDC file and the administration guide found in the krb5-doc package.
<Ok>
Then I get error when it setting up:
Setting up krb5-config (2.3) ...
Use of uninitialized value $admin in string eq at /var/lib/dpkg/info/krb5-config.config line 171, <STDIN> line 19.
I have in my script the following setting:
#Kerberos 5 Settings.
echo -e "krb5-config krb5-config/kerberos_servers string $fqdn" | debconf-set-selections
echo -e "krb5-config krb5-config/default_realm string $Realm" | debconf-set-selections
echo -e "heimdal-kdc heimdal/realm string $Realm" | debconf-set-selections
echo -e "krb5-config krb5-config/admin_server string $fqdn" | debconf-set-selections
echo -e "krb5-config krb5-config/dns_for_default boolean true" | debconf-set-selections
echo -e "krb5-config krb5-config/add_servers boolean true" | debconf-set-selections
I found all these debconf-set-selections, but changing any other setting
do not stop the dialog box from coming up.
ran debconf-get-selections | grep krb5-config
krb5-config krb5-config/read_conf boolean true
krb5-config krb5-config/default_realm string TEETER.HOME
krb5-config krb5-config/add_servers boolean true
krb5-config krb5-config/admin_server string
krb5-config krb5-config/kerberos_servers string
krb5-config krb5-config/dns_for_default boolean true
krb5-config krb5-config/add_servers_realm string TEETER.HOME
I could work around by forcing noninteractive, but shouldn't there be a
way to trun off the dialog box?
** Affects: kerberos-configs (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
krb5-config.config seams to be missing a variable as there is no way to
stop a dialog box from poping up in my script for installing Kerberos 5.
+ I am using Ubuntu 14.04.01 LTS
I get error message:Use of uninitialized value $admin in string eq at
/var/lib/dpkg/info/krb5-config.config line 171, <STDIN> line 20.
Then I get dialog box titled: "Configuring krb5-admin-server"
Stating:
- Setting up a Kerberos Realm
+ Setting up a Kerberos Realm
- This package contains the administrative tools required to run the Kerberos master server. However, installing this package does not automatically set up a Kerberos realm. This can be done later by running the "krb5_newrealm" command.
+ This package contains the administrative tools required to run the Kerberos master server. However, installing this package does not automatically set up a Kerberos realm. This can be done later by running the "krb5_newrealm" command.
Please also read the /usr/share/doc/krb5-kdc/README.KDC file and the administration guide found in the krb5-doc package.
- <Ok>
-
+ <Ok>
Then I get error when it setting up:
Setting up krb5-config (2.3) ...
Use of uninitialized value $admin in string eq at /var/lib/dpkg/info/krb5-config.config line 171, <STDIN> line 19.
I have in my script the following setting:
- #Kerberos 5 Settings.
- echo -e "krb5-config krb5-config/kerberos_servers string $fqdn" | debconf-set-selections
+ #Kerberos 5 Settings.
+ echo -e "krb5-config krb5-config/kerberos_servers string $fqdn" | debconf-set-selections
echo -e "krb5-config krb5-config/default_realm string $Realm" | debconf-set-selections
echo -e "heimdal-kdc heimdal/realm string $Realm" | debconf-set-selections
- echo -e "krb5-config krb5-config/admin_server string $fqdn" | debconf-set-selections
+ echo -e "krb5-config krb5-config/admin_server string $fqdn" | debconf-set-selections
echo -e "krb5-config krb5-config/dns_for_default boolean true" | debconf-set-selections
echo -e "krb5-config krb5-config/add_servers boolean true" | debconf-set-selections
I found all these debconf-set-selections, but changing any other setting
do not stop the dialog box from coming up.
ran debconf-get-selections | grep krb5-config
krb5-config krb5-config/read_conf boolean true
krb5-config krb5-config/default_realm string TEETER.HOME
krb5-config krb5-config/add_servers boolean true
krb5-config krb5-config/admin_server string
krb5-config krb5-config/kerberos_servers string
krb5-config krb5-config/dns_for_default boolean true
krb5-config krb5-config/add_servers_realm string TEETER.HOME
I could work around by forcing noninteractive, but shouldn't there be a
way to trun off the dialog box?
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to kerberos-configs in Ubuntu.
https://bugs.launchpad.net/bugs/1404351
Title:
krb5-config missing debconf-set-selections variable
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kerberos-configs/+bug/1404351/+subscriptions
More information about the Ubuntu-server-bugs
mailing list