Created attachment 37006 [details] [review] Patch to set has_data to true when configuration is loaded Basically, has_data was never set to TRUE, causing the backend to reload data on each request to the local authority. It seems to be a simple omission. Patch is enclosed.
Hey - thanks for the patch. The patch looks good except the 'has_data = TRUE' assignment in polkitbackendlocalauthorizationstore.c needs to happen a bit later so we also properly set it for empty directories. I'll commit a patch with that fix. Thanks.
This is the patch I committed http://cgit.freedesktop.org/PolicyKit/commit/?id=779c0153fc0bd3c2e302dac1979d17638f054229
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.