Summary: | polkitd crashes when calling pkcheck on a wrong PID | ||
---|---|---|---|
Product: | PolicyKit | Reporter: | Milan Bouchet-Valat <nalimilan> |
Component: | daemon | Assignee: | David Zeuthen (not reading bugmail) <zeuthen> |
Status: | RESOLVED FIXED | QA Contact: | David Zeuthen (not reading bugmail) <zeuthen> |
Severity: | major | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | git formatted patch |
Description
Milan Bouchet-Valat
2010-03-18 03:46:01 UTC
Created attachment 34841 [details] [review] git formatted patch Ah, we were freeing an error which we just propagated upwards to the caller. Now it's working correctly: $ pkcheck --allow-user-interaction --process 0 --action-id org.freedesktop.systemtoolsbackends.set Error checking for authorization org.freedesktop.systemtoolsbackends.set: Remote Exception invoking org.freedesktop.PolicyKit1.Authority.CheckAuthorization() on /org/freedesktop/PolicyKit1/Authority at name org.freedesktop.PolicyKit1: org.freedesktop.PolicyKit1.Error.Failed: stat() failed for /proc/0: No such file or directory This is fixed in current git head. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.