[10:20] start on [10:20] can it be done ? [10:21] nvm [15:26] Varazir: did you figure out what you needed? [15:27] SpamapS: I think I solved the problem not exting my script [15:27] I added and started htpc to the lightdm.conf file [15:27] the orginal htpc.conf file had exit 0 [15:28] and then lightdm wouldn't start due to the script wasn't running [15:30] ah ok [17:14] SpamapS: Didn't work [17:15] for some reason my script do not start [17:17] init-checkconf /etc/init/htpc.conf [17:17] ERROR: failed to ask Upstart to check conf file [17:25] And I don't get any error msg what I can see [21:19] hi there [21:21] i am lookup for a default set of jobs that does not use rc, does someone knows where i could find that ? [21:21] slookup/looking/ [21:33] you mean without sysvinit compatibility? [21:33] yes [21:33] hm, I don't know about any default set like that [21:34] I think it's only used like that in embedded systems [21:35] actually i am trying to bake an embedded system [21:36] I think Palm/HP webOS uses it like that [21:36] thanks for the info [21:36] I'm not sure how Google ChromeOS uses it [21:39] for the moment i am stuck at the runlevel thing [21:39] wakko: maybe also ask on the mailing list [21:39] when i type runlevel it tells me "runlevel:/var/run/utmp: No such file or directory" [21:39] you don't have to use runlevels [21:39] i need to find out what does populate this file :) [21:41] i would like not to use them indeed, but at the same time i'd like to have the reboot command to work [21:45] "reboot --force" reboots the system without any need for runlevels [21:46] but you'll have to make sure everything is topped properly before doing that yourtself [21:46] *yourself [21:46] and *stopped* (sigh) [21:47] i don't understand why reboot is shipped with upstart and still relies on /etc/init.d/rc [21:47] (according to the cookbook) [21:47] there is also a reboot syscall BTW [21:47] wakko: because of the sysvinit compatibility I suppose [21:48] you don't want to reboot before your database that still uses a sysvinit script has written all data to disk, for example ☺ [21:49] i was thinking reboot would send an event to upstart thru dbus, and then upstart would call /etc/init.d/rc using a job [21:50] that's correct [21:50] well, that's more or less what it does [21:50] and then it's the init scripts that finish up tearing everything down, and calling the reboot syscall [21:50] if you don't use --force [21:51] the reason for this is that event based systems make it much easier to respond to events quickly (on startup or shutdown or anywhere in between), but they make it *harder* to know when you're actually done processing [21:51] if you don't use the sysvinit compatibility, you'll have to do that syscall yourself (e.g. by calling "reboot --force") [21:52] JanC: i cannot use the reboot command without --force, so upstart still get a "reboot event" turns off all deamons and finally do a reboot --force ? [21:53] well, you can do the "reboot --force" (or similar another way) from an upstart job, of course [21:53] that would be nice [21:54] I'm sure distros that don't use sysvinit have their own implementation of reboot & shutdown BTW [21:54] e.g. Gentoo & CRUX [21:54] Does Gentoo use upstart ? [21:55] no, (certainly not by default) [21:55] but they don't use sysvinit either [21:55] they have their own init system [21:55] i think it's OpenRc by default [21:55] yes [21:56] which was originally derived from bsd init IIRC, but evolved a lot since [21:56] i think i could keep the runlevel stuff :) so i'll don't have to rewrite them and i can stay with upstart "builtins" [21:57] well, it would be interesting to see upstart working without sysvinit/runlevels/etc. [21:58] but I understand you probably have time constraints about getting this to work ;) [21:58] the cookbook says reboot does a "runlevel RUNLEVEL=6 PREVLEVEL=2" [21:58] i think i could keep the runlevel logic but skip the rc scripts [21:59] that would probably work [21:59] JanC, slangasek, thanks for your help [22:00] it's more or less what happens if /etc/init.d/* & /etc/rc.local are empty, I suppose ☺ [22:00] :) [22:01] maybe, but i still need to clarify some points so i can tell [22:02] lol it works now... [22:02] i'll definitely write an article or something later [22:06] gn all and thanks again