[03:08] <sanityx> Anybody here?
[03:08] <sanityx> How do I control what services run at boot with upstart?
[03:37] <sanityx> This channel is ALIVE with activity.
[12:57] <AlexExtreme> hmm... if i have a job with, for example, both 'stop on foobar 0' and 'stop on foobar 1', i know I can get the actual event name, foobar, in the scripts with the UPSTART_EVENT variable, but how can I get the arguments to the foobar event, in this case 0 or 1?
[12:59] <Keybuk> $1, $2, $3
[01:00] <AlexExtreme> ah
[01:00] <AlexExtreme> ok
[01:00] <AlexExtreme> thanks
[01:00] <Keybuk> this works for exec too, through an evil trick
[01:01] <AlexExtreme> yeah
[01:06] <Keybuk> I have yet to work out the pattern by which the scrap van comes around our street
[01:06] <Keybuk> SETI could analyse the periods between visits and discover new and unhidden depths in the complexity of the universe
[01:07] <AlexExtreme> :p
[01:07] <_ion> They're sending you secret messages through the periods between visits.
[01:08] <_ion> You're not schizophrenic if they're really sending messages to you.
[01:09] <Keybuk> that's paranoid
[01:10] <Keybuk> schizophrenic is when you send messages to yourself
[01:24] <_ion> I was finally able to order a decent monitor to replace these blussy CRTs. 
[01:24] <_ion> blurry
[01:28] <AlexExtreme> _ion, LCD? or another CRT?
[01:31] <_ion> Samsung 226BW, a 22" widescreen flat monitor.
[01:31] <AlexExtreme> nice
[01:31] <AlexExtreme> this LCD has managed to get the outline of my top gnome panel etched into the screen...
[01:31] <_ion> :-)
[01:32] <AlexExtreme> shows how much I use it :p
[01:42] <AlexExtreme> btw
[01:42] <AlexExtreme> if I do this in my job for system-tools-backends:
[01:42] <AlexExtreme> exec STB_NO_DAEMON="y" /usr/bin/system-tools-backends
[01:43] <AlexExtreme> will upstart interpret that correctly by passing it to a shell and behave as you'd expect it to?
[01:45] <_ion> exec env STB_NO_DAEMON="y" /usr/bin/system-tools-backends
[01:46] <_ion> Even better:
[01:47] <_ion> env STB_NO_DAEMON=y
[01:47] <_ion> exec /usr/bin/system-tools-backends
[01:47] <AlexExtreme> ah
[01:47] <AlexExtreme> cool
[03:13] <mbiebl> Keybuk: I think upstarts sysv compat utils are not compatible enough ;-) 
[03:13] <mbiebl> I noticed that while adopting upstart for Gentoo.
[03:15] <mbiebl> When in runlevel 0 or 6, reboot/halt/poweroff when called without -f, should *not* call shutdown.
[03:16] <mbiebl> Other distros I checked do not have a "-f" in the final halt/reboot call.
[03:17] <mbiebl> I think it would also be nice, if the links would be the same as with sysvinit
[03:18] <mbiebl> poweroff -> halt, reboot -> halt
[03:18] <mbiebl> and not halt->reboot, poweroff -> reboot
[03:18] <mbiebl> But that's just nitpicking.
[03:19] <mbiebl> Besides that it was astonishingly painless to get upstart running on Gentoo ;-)
[03:20] <AlexExtreme> Yeah, but then it'll be astonishingly painful to actually write upstart-native jobs for it ;)
[03:22] <mbiebl> yeah, that is a different kettle of fish
[03:22] <AlexExtreme> btw, i've got some new upstart-native jobs for frugalware here: http://ftp.frugalware.org/pub/other/upstart-jobs/upstart-jobs/etc/event.d/
[03:23] <AlexExtreme> i haven't actually tested them yet though, i'm setting up a virtual machine because i don't want to kill my main machine :)
[03:23] <mbiebl> hehe
[03:23] <AlexExtreme> they're kinda ugly atm, i'm sure some stuff could be done better, and there's no event based networking or mounting yet
[03:25] <mbiebl> when do you expect the first frugalware release with a fully upstart-native boot?
[03:26] <AlexExtreme> 0.7 stable will definitely have it, it won't get into 0.6 because that's gonna be released in 4 days
[03:26] <AlexExtreme> i'll try to get it into the development repo quite early in 0.7's development
[03:27] <mbiebl> cool. what is your strategy for frugalware: will you dump sysvinit completely and go upstart only?
[03:27] <mbiebl> Or will you ship both?
[03:27] <AlexExtreme> just upstart
[03:27] <mbiebl> Yeah, that makes it easier...
[03:27] <AlexExtreme> but we'll leave the sysv compat stuff there for proprietry apps which provide their own init script like vmware
[03:32] <mbiebl> Keybuk: about the "-f" behaviour of the compat tools
[03:32] <mbiebl> Should I file a bug report?
[03:32] <AlexExtreme> probably a good idea, then there's no reason for him to forget it ;)
[03:33] <mbiebl> I just wanted to get his opinion first, but then it seems he is not around atm.
[03:36] <mbiebl> AlexExtreme: Have you also written the udev rules already?
[03:36] <AlexExtreme> http://ftp.frugalware.org/pub/other/upstart-jobs/upstart-jobs/etc/udev/rules.d/85-upstart.rules
[03:36] <AlexExtreme> that's a base set of rules, maybe more could be added later
[03:36] <AlexExtreme> Yep, he's not around ;)
[03:37] <mbiebl> *grin*
[03:56] <AlexExtreme> it seems my prayers have been answered. it works :)
[03:56] <mbiebl> way cool!
[03:59] <AlexUpstart> nothing seems to have gone wrong so far, although hald is being a little more verbose than I would like ;)
[04:02] <AlexUpstart> http://frugalware.org/paste/955
[04:05] <AlexExtreme> awesome... it worked :)
[04:18] <mbiebl> nice