/srv/irclogs.ubuntu.com/2007/10/12/#upstart.txt

=== toidinamai [n=frank@n15-60.dsl.vianetworks.de] has joined #upstart
toidinamaiHello.05:43
toidinamaiHow does upstart compare with runit or djb's daemontools?05:43
=== toidinamai [n=frank@i59F72BC0.versanet.de] has joined #upstart
Jc2ktoidinamai: i am in no way even close to an expert on the subject, but runit seems very minimalist in comparison to upstart10:20
Jc2kthats not meant to say that upstart is fat, just that it has a larger scope10:21
Jc2ki can't see that daemontools even tries to replace init, so that would be the difference there10:22
Jc2kmy understanding is that upstart tries to be a really flexible event based service manager10:23
Jc2kso you can configure a service or job to run each time a service is starting, started, stopping or stopped10:24
Jc2kbut also on a time event10:24
Jc2kor even on a HAL event10:24
Jc2krunit and daemontools just seem concerned with getting things started or stopped, and your left to handle dependencies in your scripts rather than taking advantage of a ready made dependency handler10:25
Jc2ktoidinamai: the best guy to answer your question is probably Keybuk10:26
Jc2khe's on UK time if that helps you plan when best to come on IRC (04:43AM is a little early for us brits ;D)10:27
=== j_ [n=j@fe2adsl-2.wyplay.net] has joined #upstart
=== Starting logfile irclogs/upstart.log
=== ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #upstart
=== Topic for #upstart: Upstart 0.3.9 | http://upstart.ubuntu.com/ | http://people.ubuntu.com/~fabbione/irclogs/ | https://lists.ubuntu.com/archives/upstart-devel/2007-October/000468.html
=== Topic (#upstart): set by Keybuk at Thu Oct 11 23:46:59 2007
toidinamaiJc2k: Thanks.01:23
toidinamaiJc2k: I'm on CET but my sleep schedule is currently a little off. :-)01:24
=== Keybuk [n=scott@wing-commander.netsplit.com] has joined #upstart
=== Md [i=md@freenode/staff/md] has joined #upstart
toidinamaiKeybuk: Does upstart supervise its services like daemontools or runit?02:21
Keybukhello02:21
Keybukerr02:21
KeybukUpstart supervises services, so can respawn them if they die02:22
KeybukI don't know whether it supervises them in the same way as daemontools or runit though02:22
Keybuk(but maybe you didn't intend to ask that)02:22
toidinamaiHm, I guess I'll just have to try it out.02:23
toidinamaiI'm currently using runit as an init replacement everywhere I can but it still needs a lot of fine tuning.02:24
KeybukI can probably answer specific questions in quite detail02:24
Keybukthough I don't know how the other tools behave02:25
toidinamaiOk.02:25
toidinamaiSo upstart doesn't use the traditional init scripts at all, is that right?02:25
Keybukright02:26
toidinamaiHow does it deal with scripts installed by packages like openssh-server?02:26
Keybukwhat kind of scripts?02:27
toidinamai/etc/init.d/ssh02:27
Keybukit ignores them completely02:27
Keybukthe usual way you install Upstart is to have Upstart jobs emulate the lines in your old inittab02:28
Keybuk(running /etc/init.d/rc, or whatever)02:28
Keybukso existing init scripts are run by the existing sysvinit scripts, etc.02:28
Keybukleaving you free to convert over to Upstart jobs at your leisure02:28
Keybukobviously you don't get any kind of supervision for legacy init scripts02:28
toidinamaiHm.  I sometimes get conflicts that way when using runit.  After installing a server package dpkg adds it to the runlevels and tries to start it.02:31
toidinamaiUpstart uses traditional logging using syslog, right?02:43
=== mbiebl [n=michael@e180072002.adsl.alicedsl.de] has joined #upstart
Keybukkinda03:09
=== juergbi [n=juerg@80-219-21-79.dclient.hispeed.ch] has joined #upstart
=== j_ [n=j@fe2adsl-2.wyplay.net] has joined #upstart
=== toidinamai_ [n=frank@i59F761DE.versanet.de] has joined #upstart
KeybukI hate valgrind07:30
=== Jc2k chuckles
Keybuk==29463== ERROR SUMMARY: 348 errors from 18 contexts (suppressed: 11 from 1)07:32
Keybukit keeps finding errors in code I'm happy with07:32
Jc2k:-\07:32
Jc2khow dare it!07:32
ion_Another guy got valgrind to segfault just a while ago.07:45
Keybukvalgrind usually segfaults because your program does07:48
ion_Well, it spewed an error like valgrind: the impossible happened first. :-)07:48
=== Jc2k lols
Keybuk==29490== Invalid write of size 407:50
Keybuk==29490==    at 0x80523D5: nih_list_cut (list.c:202)07:50
Keybuk==29490==    by 0x80524A9: nih_list_destroy (list.c:246)07:50
Keybuk==29490==    by 0x8051096: nih_free (alloc.c:336)07:50
Keybuk==29490==    by 0x804C3A4: test_dir_walk (test_file.c:793)07:50
Keybuk==29490==    by 0x8050CC1: main (test_file.c:1336)07:51
Keybukoopsy07:51
=== Amaranth [n=travis@ubuntu/member/Amaranth] has joined #upstart
=== Md [i=md@freenode/staff/md] has joined #upstart
=== Md [i=md@freenode/staff/md] has joined #upstart
=== Md [i=md@freenode/staff/md] has joined #upstart
=== AlexExtreme [n=AlexExtr@frugalware/developer/AlexExtreme] has joined #upstart
=== Jc2k [n=john@unrouted.net] has joined #upstart
=== soren [n=sh@ubuntu/member/shawarma] has joined #upstart
=== GodEater_ [n=bryan@rockbox/staff/GodEater] has joined #upstart
=== Md [i=md@freenode/staff/md] has joined #upstart
=== toidinamai_ [n=frank@i59F761DE.versanet.de] has joined #upstart
=== ion_ [i=ion@heh.fi] has joined #upstart
=== benmur [n=benmur@80.67.169.35] has joined #upstart

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!