When I execute authtool-gtk:

[EMAIL PROTECTED]:~$ 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)
debconf: DbDriver "passwords" warning: could not open 
/var/cache/debconf/passwords.dat: Permiso denegado
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")


So I tried with sudo:

[EMAIL PROTECTED]:~$ 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")


Later I installed krb5-clients:
sudo apt-get install krb5-clients


And it works OK with sudo, but without sudo it doesn't work.


There are two problems:

1) Package Dependencies -> krb5-clients
2) authtool-gtk -> Must be run with UID=0 (like sudo, gksu or something else)


** Also affects: network-authentication
   Importance: Undecided
       Status: New

** Changed in: network-authentication
       Status: New => Fix Committed

** Changed in: authtool (Ubuntu)
       Status: New => Fix Committed

-- 
authtool-gtk crashed with DebconfError in command()
https://bugs.launchpad.net/bugs/193915
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to