Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 387903 - sys-auth/polkit: keeps dir /var/run/polkit-1
Summary: sys-auth/polkit: keeps dir /var/run/polkit-1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Nirbheek Chauhan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: keepdir-var-run_lock
  Show dependency tree
 
Reported: 2011-10-20 16:45 UTC by i.Dark_Templar
Modified: 2011-12-07 16:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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"