Red Hat Bugzilla – Bug 435551
PolicyKit ignores policy files on some filesystems (xfs).
Last modified: 2013-03-05 22:55:10 EST
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):
Steps to Reproduce:
1. put /usr/share/PolicyKit/policy to XFS filesystem
2. restart PolicyKit
3. try to mount usb drive, access to photo .....
All actions disabled (dy default w/o policy files).
Actions controlled by policy.
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.
Fix is in rawhide now