Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 387903

Summary: sys-auth/polkit: keeps dir /var/run/polkit-1
Product: Gentoo Linux Reporter: i.Dark_Templar <idarktemplar>
Component: [OLD] UnspecifiedAssignee: Nirbheek Chauhan (RETIRED) <nirbheek>
Status: RESOLVED FIXED    
Severity: normal CC: freedesktop-bugs, idarktemplar
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 332633    

Description i.Dark_Templar 2011-10-20 16:45:52 UTC
Polkit keeps dir /var/run/polkit-1. It shouldn't do that, and should create this dir at runtime. Current behaviour can cause troubles if /var/run is mounted as tmpfs. In case it already does, junk keepdir /var/run/polkit-1 should be just deleted. Blocks bug #332633.

Reproducible: Always

Steps to Reproduce:
1. emerge polkit

Actual Results:  
Polkit keeps dir /var/run/polkit-1

Expected Results:  
Polkit shouldn't keep that dir.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-12-07 16:10:05 UTC
I searched the code and didn't find /var/run/polkit-1 being even used. It seems only /var/lib for polkit-1 and ConsoleKit is used.

+*polkit-0.103 (07 Dec 2011)
+
+  07 Dec 2011; Samuli Suominen <ssuominen@gentoo.org> +polkit-0.103.ebuild:
+  Version bump. Remove unrequired keepdir of /var/run/polkit-1 wrt #387903 by
+  "i.Dark_Templar"