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

Howdy can't import module ConfigParser however it's alreayd installed #912

Open
ibahnasy opened this issue May 1, 2024 · 1 comment
Open

Comments

@ibahnasy
Copy link

ibahnasy commented May 1, 2024

When trying to authenticate with Howdy through PAM I get this error in the auth.log:

2024-05-01T15:20:38.402372+03:00 <host> /lib/security/howdy/pam.py[34365]: Traceback (most recent call last):
2024-05-01T15:20:38.403951+03:00 <host> /lib/security/howdy/pam.py[34365]:   File "/lib/security/howdy/pam.py", line 10, in <module>
2024-05-01T15:20:38.404018+03:00 <host> /lib/security/howdy/pam.py[34365]:     import ConfigParser
2024-05-01T15:20:38.404053+03:00 <host> /lib/security/howdy/pam.py[34365]: ModuleNotFoundError: No module named 'ConfigParser'
2024-05-01T15:20:38.404094+03:00 <host> sudo[34365]: gkr-pam: unable to locate daemon control file
2024-05-01T15:20:38.404144+03:00 <host> sudo[34365]: gkr-pam: stashed password to try later in open session
2024-05-01T15:20:40.311777+03:00 <host> sudo:      <user> : PAM authentication error: Error in service module ; TTY=pts/2 ; PWD=/root ; USER=root ; COMMAND=/bin/bash

However that module is already installed:

# pip3 install configparser --break-system-packages
WARNING: Skipping /usr/lib/python3.12/dist-packages/argcomplete-3.1.4.dist-info due to invalid metadata entry 'name'
Requirement already satisfied: configparser in /usr/local/lib/python3.12/dist-packages (7.0.0)

I've searched for similar issues already, and my issue has not been reported yet.

Linux distribution (if applicable): Ubuntu 24.04

Howdy version (sudo howdy version): 2.6.1

@andygev35
Copy link

andygev35 commented May 6, 2024

Fix #799

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants