[11:29] <queenz> Hello
[11:29] <queenz> can i ask how upstart works?
[11:29] <ion> Yes
[11:30] <queenz> hi ion
[11:30] <queenz> so upstart as i read is the replacement for /sbin/init?
[11:31] <ion> Yes, it’s an init implementation.
[11:31] <queenz> so there is /sbin/upstart instead of /sbin/init ?
[11:32] <ion> Upstart provides /sbin/init.
[11:33] <queenz> /sbin/init is by default in every distribution but if you install upstart it will use /sbin/upstart ?
[11:35] <ion> There’s no /sbin/upstart, Upstart provides /sbin/init.
[11:35] <queenz> oh
[11:35] <queenz> i see
[11:36] <queenz> where does upstart start the desktop environment?
[11:36] <queenz> where can i configure it?
[11:38] <ion> Depends on your distro. The jobs are defined in /etc/init.
[11:41] <queenz> i have ubuntu 10.04 Lucid Lynx
[11:42] <queenz> i found a lot of files in /etc/init/, which one starts the desktop environment?
[11:47] <ion> /etc/init/gdm.conf starts gdm
[11:48] <queenz> and gdm starts gnome right?
[11:48] <ion> Yep
[11:48] <queenz> oh i see now. Do you know where i can configure GDM and change which desktop environment it will start?
[11:49] <ion> gdm provides a selector for that in the UI.
[11:50] <queenz> i made my own program that i want to start as a desktop environment but it doesn't show up in the gdm ui
[11:52] <ion> You’ll have to look at documentation and/or what the other desktop environments do. This has nothing to do with Upstart.
[11:52] <queenz> ok, you're right...
[11:53] <queenz> how can i make upstart run my program ?
[11:54] <ion> See init(5) for documentation /etc/init/*.conf for examples
[11:55] <queenz> where's init(5) ?
[11:56] <ion> man 5 init
[11:57] <queenz> thanks
[11:57] <queenz> so does that mean that all upstart init will run all scripts found in /etc/init/?
[12:00] <ion> Upstart emits the ‘startup’ event in the beginning. That triggers anything that has ‘start on startup’ to start. In Ubuntu, the most important thing at that point is the mountall job, which then emits events such as ‘filesystem’ when things get mounted, triggering any job that has the equivalent ‘start on...’ stanza to start.
[12:02] <queenz> ok
[12:03] <queenz> so there's an order which jobs get started first ?
[12:04] <ion> Everything an event causes to start starts in parallel.
[12:04] <queenz> oh
[12:05] <queenz> much clearer now
[12:06] <queenz> thanks
[19:59] <RicardoPerez> hi! i'm using lucid. i need the smbd daemon starting after openldap's slapd daemon, but the latter still uses the old-style /etc/init.d/slapd init script. what can I do? thanks in advance!