Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown error: 1 #849

Closed
DocCringol opened this issue Oct 30, 2023 · 3 comments
Closed

Unknown error: 1 #849

DocCringol opened this issue Oct 30, 2023 · 3 comments
Labels
v2 Old version of Howdy (2.*)

Comments

@DocCringol
Copy link

DocCringol commented Oct 30, 2023

So i can't make howdy work

howdy test is working, sudo -i isn't working and returning

sudo howdy version
Unknown error: 1

What i've done:

  • install from fusion
  • add /dev/video2 to sudo howdy config
  • add auth sufficient pam_python.so /lib64/security/howdy/pam.py to /etc/pam.d/sudo
  • chmod o-x /lib64/security/howdy/compare.py

Also tried (maybe the wrong way):

Logs:

окт 30 10:20:00 MSI [8580]: Attempting facial authentication for user doccringol
окт 30 10:20:05 MSI python3[8582]: detected unhandled Python exception in '/lib64/security/howdy/compare.py'
окт 30 10:20:05 MSI [8580]: Failure, unknown error1
окт 30 10:20:05 MSI audit: BPF prog-id=100 op=LOAD
окт 30 10:20:05 MSI systemd[1]: Starting fprintd.service - Fingerprint Authentication Daemon...
окт 30 10:20:05 MSI abrt-server[8633]: Package 'howdy' isn't signed with proper key
окт 30 10:20:05 MSI abrt-server[8633]: 'post-create' on '/var/spool/abrt/Python3-2023-10-30-10:20:05-8582' exited with 1
окт 30 10:20:05 MSI abrt-server[8633]: Deleting problem directory '/var/spool/abrt/Python3-2023-10-30-10:20:05-8582'
окт 30 10:20:05 MSI systemd[1]: Started fprintd.service - Fingerprint Authentication Daemon.
окт 30 10:20:05 MSI audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

Maybe it is posible to somehow get compare.py's traceback?

Howdy version: 2.6.1


Solution:
#801 (comment)
sudo mkdir /usr/lib64/security/howdy/snapshots

@tokox
Copy link

tokox commented Oct 30, 2023

have you configured SELinux and #801?

chmod o-x /lib64/security/howdy/compare.py

it should be o+x not o-x

@DocCringol
Copy link
Author

it should be o+x not o-x
yeah, missclick

and yes, #801 helped, thanks a lot

@KeysBit
Copy link

KeysBit commented Mar 7, 2024

same here. #801 not help. Just create folder /usr/lib/security/howdy/snapshots solve the problem. yeah for me it`s not lib64

@saidsay-so saidsay-so added the v2 Old version of Howdy (2.*) label Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2 Old version of Howdy (2.*)
Projects
None yet
Development

No branches or pull requests

4 participants