[11:29] Hello [11:29] can i ask how upstart works? [11:29] Yes [11:30] hi ion [11:30] so upstart as i read is the replacement for /sbin/init? [11:31] Yes, it’s an init implementation. [11:31] so there is /sbin/upstart instead of /sbin/init ? [11:32] Upstart provides /sbin/init. [11:33] /sbin/init is by default in every distribution but if you install upstart it will use /sbin/upstart ? [11:35] There’s no /sbin/upstart, Upstart provides /sbin/init. [11:35] oh [11:35] i see [11:36] where does upstart start the desktop environment? [11:36] where can i configure it? [11:38] Depends on your distro. The jobs are defined in /etc/init. [11:41] i have ubuntu 10.04 Lucid Lynx [11:42] i found a lot of files in /etc/init/, which one starts the desktop environment? [11:47] /etc/init/gdm.conf starts gdm [11:48] and gdm starts gnome right? [11:48] Yep [11:48] oh i see now. Do you know where i can configure GDM and change which desktop environment it will start? [11:49] gdm provides a selector for that in the UI. [11:50] 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] You’ll have to look at documentation and/or what the other desktop environments do. This has nothing to do with Upstart. [11:52] ok, you're right... [11:53] how can i make upstart run my program ? [11:54] See init(5) for documentation /etc/init/*.conf for examples [11:55] where's init(5) ? [11:56] man 5 init [11:57] thanks [11:57] so does that mean that all upstart init will run all scripts found in /etc/init/? [12:00] 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] ok [12:03] so there's an order which jobs get started first ? [12:04] Everything an event causes to start starts in parallel. [12:04] oh [12:05] much clearer now [12:06] thanks === ion_ is now known as ion [19:59] 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!