Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 387901 - sys-auth/consolekit: keeps dir /var/run/ConsoleKit
Summary: sys-auth/consolekit: keeps dir /var/run/ConsoleKit
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
: 450224 (view as bug list)
Depends on:
Blocks: keepdir-var-run_lock
  Show dependency tree
 
Reported: 2011-10-20 16:39 UTC by i.Dark_Templar
Modified: 2014-03-14 12:21 UTC (History)
2 users (show)

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


Attachments
ConsoleKit init script (consolekit-0.1.rc,631 bytes, text/plain)
2011-10-20 16:40 UTC, i.Dark_Templar
Details

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: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. ***