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
Policykit issue when launching fapolicy-analyzer a second time #284
Comments
Possibly related, but I'm now seeing many
|
It appears that pkttyagent started because that output text |
Re: Scholarsmate's comment:
Since the app was started directly and not through the wrapper script this is not pkexec/polkit related. It could be permission related but since the system was loaded w/o complaint, I don't think that's the issue either. I have seen these WARNING messages previously during general dev work but unfortunately don't remember the underlying issues. |
I have duplicated the OP's symptom. It is inconsistent but on my system occurs ~50% of the time. I also see the following complaints: |
The above warning messages do not occur when pkexec is not the authenticating parent invoking "python -m fapolicy_analyzer.ui." |
The pkttyagent appears to be not consistently starting and/or does not stay up when the issue occurs. Next step is to enable verbosity in the polkitd daemon to determine what end of the client/server connection is not playing nice. I believe it's available via an env var. Will also look at client code to see if enabling verbosity is available. |
pkttyagent authorization agent does not complete its registration on the dbus prior to the pkexec call that execs the fapolicy-analyzer. Next step: Leverage the pkttyagent's fd callback mechanism to signal the fapolicy-analyzer wrapper script that it can proceed to the pkexec. |
Let's leave this open a bit longer, while this PR is being banged on by the limited user base, since it only get exercised on rpm installations. The following PR has been mergeed into master, tested on the release 0.3.0 branch, and as of the merge into master, dev work has been effectively completed. |
From fc34 vm
The text was updated successfully, but these errors were encountered: