Package: password-gorilla
Version: 1.5.3.7-1
Severity: grave

I have recently been unable to save new entries in Password Gorilla.  I
get an error about not being able to run ifconfig.  This occurs because
Password Gorilla uses the Tcl package uuid which way deep inside calls
ifconfig (full stack below).  On my Debian unstable system, the ifconfig
program is located in /sbin which is not in my PATH as a non-root user.

There are some workarounds:
* Add /sbin to your PATH (not a great idea)
* Create a symbolic link from /sbin/ifconfig to a directory in your PATH.
* Create a shell script in your PATH called ifconfig that does something
similar, like call "ip a" or "hostname -I". I don't really know what the
Tcl uuid package requires from ifconfig, so it is difficult to say what
is an appropriate substitute, but this worked for me.

Possible solutions:
* Change Password Gorilla to use some other method for generating UUIDs.
* Change the Tcl uuid package not to use ifconfig.

I set the severity to grave because this prevents saving password
entries which is the core function of Password Gorilla.

Error message stack:

couldn't execute "ifconfig": no such file or directory
couldn't execute "ifconfig": no such file or directory
    while executing
"exec ifconfig"
    (procedure "dump" line 2)
    invoked from within
"dump"
    (procedure "::nettool::mac_list" line 3)
    invoked from within
"::nettool::mac_list"
    (procedure "::nettool::hwid_list" line 3)
    invoked from within
"::nettool::hwid_list"
    (procedure "generate_tcl_machinfo" line 36)
    invoked from within
"generate_tcl_machinfo"
    (procedure "generate_tcl" line 7)
    invoked from within
"generate_tcl"
    (procedure "generate" line 6)
    invoked from within
"generate"
    (procedure "uuid::uuid" line 7)
    invoked from within
"uuid::uuid generate"
    (procedure "PopulateRecord" line 20)
    invoked from within
"PopulateRecord [ set newrn [ $::gorilla::db createRecord ] ] "
    (procedure "Ok" line 30)
    invoked from within
"Ok"
    (in namespace inscope "::gorilla::LoginDialog::0" script line 1)
    invoked from within
"namespace inscope ::gorilla::LoginDialog::0 Ok"
    invoked from within
".nmLoginDialog0.bf.top.ok invoke "
    invoked from within
".nmLoginDialog0.bf.top.ok instate !disabled { .nmLoginDialog0.bf.top.ok
invoke } "
    invoked from within
".nmLoginDialog0.bf.top.ok instate pressed { .nmLoginDialog0.bf.top.ok
state !pressed; .nmLoginDialog0.bf.top.ok instate !disabled {
.nmLoginDialog0.bf..."
    (command bound to event)


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages password-gorilla depends on:
ii  itcl3   3.4.3-1
ii  tcl8.5  8.5.19-2
ii  tcllib  1.18-dfsg-2
ii  tk8.5   8.5.19-1
ii  tklib   0.6-3

password-gorilla recommends no packages.

password-gorilla suggests no packages.

-- no debconf information


-- 
Neil Roeth

Reply via email to