-
Notifications
You must be signed in to change notification settings - Fork 58
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
fapolicyd-cli -u with debdb backend triggers system lockup #259
Comments
fapolicyd approves any access request for itself. I wonder if this is a pid vs thread id issue? (Look around line 402 of notify.c) The only debugging advice I have is use printf alot. You cannot ptrace it or it locks up. |
Thanks! This is the output of the log every time I run it. It gets to the same package every time which I find strange. I thought it would be a race condition somewhere.
Ill keep looking :) |
So it stalls inside dpkg library. Seems to be related to the hash table. I have found a fix. Calling:
Before asking dpkg to construct the package hash table seems to resolve the issue. I will make a PR |
Hi, thanks, works properly now for me in 22.04. cheers |
When
fapolicyd-cli -u
is called, and fapolicyd is already running a system lockup is triggered.Still investigating but my theory is trying to open the
.md5sum
files is blocked, causing a crash/lockup.The text was updated successfully, but these errors were encountered: