mancho@Beauty:~$
dmesg --time-format iso -l err,crit,alert,emerg > dmesg-err_$(date +"%Y%m%d%H%M%S").log
dmesg --time-format iso -l err,crit,alert,emerg > dmesg-err_$(date +"%Y%m%d%H%M%S").log
both commands above displayed no output.
Boot log directed the following command:-
$ systemctl status biometric-authentication.service
â biometric-authentication.service - Authenticate by human biometric
Loaded: loaded (/lib/systemd/system/biometric-authentication.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Sat 2021-03-06 09:57:29 GMT; 1h 51min ago
Docs: https://github.com/ukui/biometric-authentication
Process: 1187 ExecStart=/usr/lib/biometric-authentication/biometric-authenticationd (code=killed, signal=SEGV)
Main PID: 1187 (code=killed, signal=SEGV)
CPU: 13ms
Mar 06 09:57:29 Beauty systemd[1]: biometric-authentication.service: Scheduled restart job, restart counter is at 5.
Mar 06 09:57:29 Beauty systemd[1]: Stopped Authenticate by human biometric.
Mar 06 09:57:29 Beauty systemd[1]: biometric-authentication.service: Start request repeated too quickly.
Mar 06 09:57:29 Beauty systemd[1]: biometric-authentication.service: Failed with result 'signal'.
Mar 06 09:57:29 Beauty systemd[1]: Failed to start Authenticate by human biometric.
Steps to reproduce
With Debian Linux Buster or Bullseye install:- biometric-auth, biometric-driver-community-multidevice, biometric-utils, libbiometric0, libpam-biometric, ukui-biometric-manager, ukui-polkit and libpam-fprintd
NOTE - I ran âsudo pam-auth-updateâ to manually enable fingerprint authentication with fprintd but I believe this should not be necessary, I only added it after the service failed to start.
Reboot and observe error messages regarding Human authentication service not starting
Expected behaviour
The service should start with no errors and after registering fingerprints in the biometric manager software fingerprint authentication should be active.
Actual behaviour
The service does not start. Fingerprints may be registered using the manager software successfully but without the service running fingerprint id is not functional
Any pointers would be greatly appreciated. Thank you.
Thank you very much for using the template from the FAQ. It helps a lot.
Could you please correct the following issues, so it can help even more:
Run this command:
dmesg --time-format iso > dmesg_$(date +"%Y%m%d%H%M%S").log
Run this command:
dmesg --time-format iso -l err,crit,alert,emerg > dmesg-err_$(date +"%Y%m%d%H%M%S").log
Edit your post and add the output of those commands to it. The output is saved in the files whose content is printed using a glob search in the following way:
for f in $(find . -maxdepth 1 -type f -name 'dmesg*.log'); do echo "$(<"${f}")"; done
Add the systemd serviceâs logs to your post, especially the part where it shows the errors about the service not starting correctly.
Thank you for adding some of the requested information to the post.
We are only missing one more step. Please add the output of the following commands to your original post:
dmesg --time-format iso > dmesg_$(date +"%Y%m%d%H%M%S").log # No output!
dmesg --time-format iso -l err,crit,alert,emerg > dmesg-err_$(date +"%Y%m%d%H%M%S").log # No output!
for f in $(find . -maxdepth 1 -type f -name 'dmesg*.log'); do echo "$(<"${f}")"; done # Will have output!
If you encounter an error that tells you something like Start request repeated too quickly., then you need to systemctl stop the service, wait 10 seconds, then systemctl start the service. Here is an exanple for how you can do that:
Hi Akito, thanks for the suggestion but same result - the followingcopied from my terminal with 3 commands together then first and third separately:-
mancho@Beauty:~$ systemctl stop biometric-authentication
sleep 10
systemctl start biometric-authentication
Job for biometric-authentication.service failed.
See âsystemctl status biometric-authentication.serviceâ and âjournalctl -xeâ for details.
mancho@Beauty:~$ systemctl status biometric-authentication.service
â biometric-authentication.service - Authenticate by human biometric
Loaded: loaded (/lib/systemd/system/biometric-authentication.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Sat 2021-03-06 14:27:51 GMT; 32s ago
Docs: GitHub - ukui/biometric-authentication: A biometric identification framework.
Process: 281484 ExecStart=/usr/lib/biometric-authentication/biometric-authenticationd (code=killed, signal=SEGV)
Main PID: 281484 (code=killed, signal=SEGV)
CPU: 13ms
Mar 06 14:27:51 Beauty systemd[1]: biometric-authentication.service: Scheduled restart job, restart counter is at 5.
Mar 06 14:27:51 Beauty systemd[1]: Stopped Authenticate by human biometric.
Mar 06 14:27:51 Beauty systemd[1]: biometric-authentication.service: Start request repeated too quickly.
Mar 06 14:27:51 Beauty systemd[1]: biometric-authentication.service: Failed with result âsignalâ.
Mar 06 14:27:51 Beauty systemd[1]: Failed to start Authenticate by human biometric.
mancho@Beauty:~$ systemctl stop biometric-authentication
mancho@Beauty:~$ systemctl start biometric-authentication
Job for biometric-authentication.service failed.
See âsystemctl status biometric-authentication.serviceâ and âjournalctl -xeâ for details.
mancho@Beauty:~$ systemctl status biometric-authentication.service
â biometric-authentication.service - Authenticate by human biometric
Loaded: loaded (/lib/systemd/system/biometric-authentication.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Sat 2021-03-06 14:29:43 GMT; 9s ago
Docs: GitHub - ukui/biometric-authentication: A biometric identification framework.
Process: 283219 ExecStart=/usr/lib/biometric-authentication/biometric-authenticationd (code=killed, signal=SEGV)
Main PID: 283219 (code=killed, signal=SEGV)
CPU: 14ms
Mar 06 14:29:43 Beauty systemd[1]: biometric-authentication.service: Scheduled restart job, restart counter is at 5.
Mar 06 14:29:43 Beauty systemd[1]: Stopped Authenticate by human biometric.
Mar 06 14:29:43 Beauty systemd[1]: biometric-authentication.service: Start request repeated too quickly.
Mar 06 14:29:43 Beauty systemd[1]: biometric-authentication.service: Failed with result âsignalâ.
Mar 06 14:29:43 Beauty systemd[1]: Failed to start Authenticate by human biometric.
mancho@Beauty:~$
Hi Akito, many thanks for the suggestions and for your patience. I finally managed to display the results of the 2 dmesg commands but couldnât edit it into the post because there is so much of it - about 3 times as much as the allowed limit.
The problem appears to be something internal as the service is trying to start. Itâs frustrating because it worked fine until quite recently, perhaps starting with Debian Linux 10.8.0
If the second one that has only possible error messages is small enough, you may still add it. If it contains a lot of similar or same errors, then just pick them a single time and it should fit into the post.
The error you show is relatively common among services with bad restart options. If the service restart option is set to Always it will always restart the service, no matter what happened. This then leads to the service restarts happening to quickly, resulting in the actual error being overshadowed by the unnecessary Start request repeated too quickly. errors.
I would advise you to completely turn off the service, set the restart option within the service to no and then after a reboot, starting the service manually and see what happens.
Thanks again. When I looked in biometric-authentication.service (as debian would have it) YES, the service restart option is set to Always however I noticed the next entry âRestartSec=0â so I tried setting it to 2 and rebooting. Not as many visible errors during the reboot but still a fail! Looking through the logs/displays etc I was further directed to - âjournalctl -xeâ which included the line = âPAM unable to dlopen(pam_biometric.so): /lib/x86_64-linux-gnu/security/pam_biometric.so: cannot open shared object file: No such file or directoryâ This is followed by the line âPAM adding faulty module: pam_biometric.so
" so it appears that the system attempts to repair the fault but rummaging around /lib/x86_64-linux-gnu/security there is no sign of a file âpam_biometric.soâ which I think should be provided by the package " libpam-biometric_1.2.1-1_amd64.debâ. I believe I have all the prescribed libraries, all later versions than the minimum required, just no pam_biometric.so file.
You also have to make sure that all the libraries are compatible with each other. For example, if you have a set of libraris of version 1 and another one of version 2, the two sets might not be entirely compatible with each other.
I think you should remove all the packages related to this question and then step by step install each package, while making sure it is a compatible version. Try to find the versions that are confirmed to work with each other.
Hi Akito, many thanks for all your suggestions and support. I havenât found a fix for this problem but I HAVE found that the older solution still works fine but isnât as pretty (it has no gui). Iâll add the workaround (retrograde step?) to my original post but one last question before I do - how do I close the question? I can see no easy option to mark it completed. Excuse my ignorance, I only signed up this morning.