You have been subscribed to a public bug:

Binary package hint: authtool

I apt-get installed authtool-gtk (and so 'authtool' itself) on a already 
working feisty laptop, no complains about krb5 dependencies.
When starting authtool-gtk ('sudo authtool-gtk'), I've got the following error 
message:
[EMAIL PROTECTED]:/tmp/pam_ccreds-4$ sudo authtool-gtk 
/usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API not 
stable yet
  warnings.warn("apt API not stable yet", FutureWarning)
Traceback (most recent call last):
  File "/usr/bin/authtool-gtk", line 552, in <module>
    app = AuthtoolGTK()
  File "/usr/bin/authtool-gtk", line 41, in __init__
    self.authtools = Authtools()
  File "/var/lib/python-support/python2.5/AuthTool/authtools.py", line 264, in 
__init__
    self.method_cfgs[method] = obj(self.cfg)
  File "/usr/share/authtool/auth_methods/kerberos/kerberos.py", line 50, in 
__init__
    default_realm = self.db.get('krb5-config/default_realm')
  File "/var/lib/python-support/python2.5/AuthTool/authtools.py", line 192, in 
get
    return self.db.get(item)
  File "/usr/lib/python2.5/site-packages/debconf.py", line 60, in <lambda>
    lambda *args, **kw: self.command(command, *args, **kw))
  File "/usr/lib/python2.5/site-packages/debconf.py", line 96, in command
    raise DebconfError(status, data)
debconf.DebconfError: (10, "krb5-config/default_realm doesn't exist")

After installing krb5-config (apt-get install krb5-config), authtool is 
starting only with some warnings:
[EMAIL PROTECTED]:/tmp/pam_ccreds-4$ sudo authtool-gtk 
/usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API not 
stable yet
  warnings.warn("apt API not stable yet", FutureWarning)
<auth_methods.local.local.LocalConfig object at 0x84e022c>
/usr/bin/authtool-gtk:301: GtkWarning: gtk_container_remove: assertion 
`GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
  self.vbox.remove(self.configbox)
/usr/bin/authtool-gtk:302: GtkWarning: Attempting to add a widget with type 
GtkTable to a container of type GtkVBox, but the widget is already inside a 
container of type GtkVBox, the GTK+ FAQ at http://www.gtk.org/faq/ explains how 
to reparent a widget.
  self.vbox.add(self.configtable)
Setting  Local


I think it should be a good thing to :
 . place a dependency on krb5-config if you feel it's really mandatory to have 
krb5 in any cases (I'm not sure it's the correct way)
 . have a check at starting to verify if krb5-config is installed or not, and 
place a explicit warning for users wanting to use Kerberos for them to install 
krb5-config package

Cheers,
--
lem

** Affects: network-authentication
     Importance: Undecided
         Status: New

** Affects: authtool (Ubuntu)
     Importance: High
     Assignee: MOTU (motu)
         Status: Confirmed

-- 
[authtool 0.2.0/feisty]:  debconf.DebconfError if krb5-config is not installed
https://bugs.launchpad.net/bugs/120892
You received this bug notification because you are a member of MOTU, which is a 
bug assignee.

-- 
universe-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/universe-bugs

Reply via email to