Bug 33607

Summary: polkitd keeps mime.cache opened
Product: PolicyKit Reporter: Dennis Schridde <devurandom>
Component: daemonAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED FIXED QA Contact: David Zeuthen (not reading bugmail) <zeuthen>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Dennis Schridde 2011-01-27 10:15:46 UTC
For some reason polkitd keeps the mime.cache opened. There seems to be no other application holding that file open, so I assume it is something polkit specific.

Version is sys-auth/polkit-0.99-r1 (on Gentoo)

Output from lsof:
polkitd    2039       root  DEL    REG  254,0          692534 /usr/share/mime/mime.cache
Comment 1 David Zeuthen (not reading bugmail) 2011-02-23 08:07:18 UTC
This is completely normal for GIO applications. But it's really unnecessary to know the content type.. so I committed

 http://cgit.freedesktop.org/PolicyKit/commit/?id=78baa4742cf07fb04a9ecab24a068eca0e6ed547

this and, hey presto, that file is no longer mapped.

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.