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

Bug 387901

Summary: sys-auth/consolekit: keeps dir /var/run/ConsoleKit
Product: Gentoo Linux Reporter: i.Dark_Templar <idarktemplar>
Component: [OLD] UnspecifiedAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: flameeyes, idarktemplar
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 332633    
Attachments: ConsoleKit init script

Description i.Dark_Templar 2011-10-20 16:39:14 UTC
consolekit keeps dir /var/run/ConsoleKit, but it shouldn't keep it, it should create it in initscript. Current behaviour can cause troubles with /var/run on tmpfs. Blocks bug #332633.

Reproducible: Always

Steps to Reproduce:
1. emerge consolekit

Actual Results:  
Consolekit keeps /var/run/ConsoleKit

Expected Results:  
Consolekit shouldn't keep that dir.
Comment 1 i.Dark_Templar 2011-10-20 16:40:45 UTC
Created attachment 290381 [details]
ConsoleKit init script

--- /usr/portage/sys-auth/consolekit/files/consolekit-0.1.rc    2009-09-12 23:46:19.000000000 +0400
+++ /usr/local/portage/sys-auth/consolekit/files/consolekit-0.1.rc      2011-10-20 20:05:54.000000000 +0400
@@ -11,6 +11,8 @@
 start() {
        ebegin "Starting ConsoleKit daemon"
 
+       checkpath -q -d -m 755 /var/run/ConsoleKit
+
        start-stop-daemon --start -q \
                --pidfile /var/run/ConsoleKit/pid \
                --exec /usr/sbin/console-kit-daemon --
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2011-10-20 19:16:21 UTC
+*consolekit-0.4.5-r2 (20 Oct 2011)
+
+  20 Oct 2011; Ian Stakenvicius <axs@gentoo.org> +files/consolekit-0.2.rc,
+  +consolekit-0.4.5-r2.ebuild:
+  Removed keepdir on /var/run/ConsoleKit as per bug 387901
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2014-03-14 12:21:13 UTC
*** Bug 450224 has been marked as a duplicate of this bug. ***