Created an attachment (id=34841)
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
Created an attachment (id=34841)
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-interactio n --process 0 --action-id org.freedesktop .systemtoolsbac kends.set .systemtoolsbac kends.set: Remote Exception invoking org.freedesktop .PolicyKit1. Authority. CheckAuthorizat ion() on /org/freedeskto p/PolicyKit1/ Authority at name org.freedesktop .PolicyKit1: org.freedesktop .PolicyKit1. Error.Failed: stat() failed for /proc/0: No such file or directory
Error checking for authorization org.freedesktop