Bug 853555
Summary: | New polkit seems to prevent programmatic access to libvirt management | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Andy Grimm <agrimm> |
Component: | polkit | Assignee: | David Zeuthen <davidz> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 18 | CC: | davidz, jgoulding, mclasen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-09-04 16:39:06 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Andy Grimm
2012-08-31 20:28:11 UTC
Upon re-reading the manpage, perhaps what I want is an addAdminRule? Still, I get the same result. Even if I move the log lines outside the if block, this code just never seems to be called. Closing as this is a question, not a bug. To answer your questions: 1. polkit logs are in /var/log/secure 2. polkit authorization rules are defined in this man page http://www.freedesktop.org/software/polkit/docs/latest/polkit.8.html 3. looks you want s/action.id/action/ in line 2 the snippet in comment 0 4. as of polkit 0.107, you should use 'return polkit.Result.YES;' instead of 'return "yes";' and 'return polkit.Result.NOT_HANDLED;' instead of 'return null;' Hope this helps. |