Bug 25656 - don't daemonize when bus-activated
Summary: don't daemonize when bus-activated
Status: RESOLVED FIXED
Alias: None
Product: ConsoleKit
Classification: Unclassified
Component: Daemon (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: william.jon.mccann
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-15 08:03 UTC by Matthias Clasen
Modified: 2010-01-28 15:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
patch (506 bytes, patch)
2009-12-15 08:03 UTC, Matthias Clasen
Details | Splinter Review

Description Matthias Clasen 2009-12-15 08:03:08 UTC
Created attachment 32083 [details] [review]
patch

This causes a race condition where the method call that caused the activation fails because CK daemonizes before grabbing the bus name. Daemonizing is entirely unnecessary in this scenario.

The simplest fix is to just add --no-daemon to the service file.
Comment 1 william.jon.mccann 2010-01-28 15:29:09 UTC
Seems like fixed in master.


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.