Incorrect hint on how to start a job when user logs in

Bug #1166708 reported by Zygmunt Krynicki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Upstart Cookbook
New
Undecided
Unassigned

Bug Description

This section http://upstart.ubuntu.com/cookbook/#run-a-job-when-a-user-logs-in mentions that:

(begin quote)
Add "UpstartJob=true" to file "/usr/share/dbus-1/system-services/org.freedesktop.ConsoleKit.service".

Create a job configuration file corresponding to the D-Bus service, say /etc/init/user-login.conf [12]:

start on dbus-activation org.freedesktop.ConsoleKit
exec /usr/sbin/console-kit-daemon --no-daemon
(end quote)

This is no longer accurate after Ubuntu 13.04 moved to logind and also as pitti puts it:

12:11 < pitti> zyga: indeed; but that seems wrong even now
12:11 < pitti> consolekit is being called/used way before the first user logs in
12:12 < pitti> zyga: one needs to actually listen for CK's/logind's signals for new sessions, or query for current sessions, not just check when the service gets activated

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.