[fprint] dbus + fprintd error

Konstantin V. Gavrilenko mlists at arhont.com
Mon Jan 12 16:04:20 GMT 2009


Bastien,

the patch has applied fine, and fprintd seems to be working ok.

g_kos at dynomob ~ $ su -
** Message: debug on
Swipe your right index finger on UPEK TouchStrip
dynomob ~ # id
uid=0(root) gid=0(root)
dynomob ~ #


However, when I try to run it through the gdb, i don't get the "swipe the finger" prompt,
it goes directly to the password prompt.

g_kos at dynomob ~ $ gdb /bin/su
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) set args -
(gdb) run
Starting program: /bin/su -
** Message: debug on
Password:
su: Permission denied

Program exited with code 01.
(gdb) bt full
No stack.
(gdb)



Another issue, I though that fprintd was suppose to allow simultaneous non interlocking access to the fingerprint device by several processes.
However, if i run one instance of su - and another one in the second terminal, the second goes straight into Password prompt.

Was I wrong in assuming that it can be used by several processes simultaneously?

yours,
kos


-------- Original Message  --------
Subject: Re: [fprint] dbus + fprintd error
From: Bastien Nocera <hadess at hadess.net>
To: k.gavrilenko at arhont.com
Cc: fprint at reactivated.net
Date: 12/01/09 14:13

> On Mon, 2009-01-12 at 12:18 +0000, Konstantin V. Gavrilenko wrote:
>> Hi Bastien,
>>
>> by default the fprintd installs the pam_fprintd into the /usr/lib64/security, whil egentoo searches them in /lib/security.
>> So I simply simlinked it to the correct location /usr/lib64/security/pam_fprintd.so to /lib/security/pam_fprintd.so
>> I've removed the symlink, and copied the file, but it does not change anything, the same error appears.
>>
>> As you asked,  recompiled some of the packages with "-O1 -gddb" and  "nostrip" options.
> 
>> #4  0x00007fa3344a3899 in dbus_connection_unref (connection=0x624e20) at dbus-connection.c:2686
>>         __FUNCTION__ = "dbus_connection_unref"
>> #5  0x00007fa334915284 in pam_sm_authenticate (pamh=0x6105c0, flags=<value optimized out>, argc=<value optimized out>, argv=<value optimized out>) at pam_fprintd.c:375
>>         rhost = 0x0
>>         username = 0x610740 "root"
>>         i = <value optimized out>
>>         r = 0
> 
> Could you please test the attached patch?
> 
> Cheers
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> fprint mailing list
> fprint at reactivated.net
> http://lists.reactivated.net/mailman/listinfo/fprint


-- 
Yours sincerely,
Konstantin V. Gavrilenko

Managing Director
Arhont Information Security Ltd

web:    http://www.arhont.com
        http://www.wi-foo.com
e-mail: k.gavrilenko at arhont.com

tel: +44 (0) 870 44 31337
fax: +44 (0) 208 429 3111

PGP: Key ID - 0xE81824F4
PGP: Server - keyserver.pgp.com


More information about the fprint mailing list