Description of problem: PolicyKit uses non-standard d_type field of direntry structire. Some filesystems (for example XFS) don't use (and don't fill) this field. So, if /usr/share/PolicyKit/policy placed on such filesystem, PolicyKit ignores all policy files. Version-Release number of selected component (if applicable): PolicyKit-0.7-6 How reproducible: always Steps to Reproduce: 1. put /usr/share/PolicyKit/policy to XFS filesystem 2. restart PolicyKit 3. try to mount usb drive, access to photo ..... Actual results: All actions disabled (dy default w/o policy files). Expected results: Actions controlled by policy. Additional info:
Created attachment 296451 [details] Using stat + some debug With this patch is works for me. Some debug additions may be dropped.
Already fixed upstream; will land in Rawhide before f9. http://gitweb.freedesktop.org/?p=PolicyKit.git;a=commitdiff;h=0b59d3e7d4b282da308b362dc440b007b9ecedbf
Fix is in rawhide now