/srv/irclogs.ubuntu.com/2007/06/18/#upstart.txt

=== phoenix24_ [i=oqlrqqj@ns37986.ovh.net] has joined #upstart
=== Amaranth [n=travis@ubuntu/member/Amaranth] has joined #upstart
=== cort [n=sam@62-31-146-25.cable.ubr12.azte.blueyonder.co.uk] has left #upstart ["SEE]
=== Amaranth_ [n=travis@ubuntu/member/Amaranth] has joined #upstart
=== phoenix24 [i=powgtz@ns37986.ovh.net] has joined #upstart
=== Amaranth [n=travis@ubuntu/member/Amaranth] has joined #upstart
=== phoenix24 [i=glwkifx@ns37986.ovh.net] has joined #upstart
=== Md [i=md@freenode/staff/md] has joined #upstart
=== Keybuk [n=scott@quest.netsplit.com] has joined #upstart
=== mbiebl [i=michael@conference/debconf/x-9f6f1c397de809bb] has joined #upstart
Keybukrah11:41
KeybukStraw Poll:11:42
Keybuka) "start on EVENT and EVENT" / "stop on EVENT or EVENT"11:42
Keybukor11:42
Keybukb) "from EVENT and EVENT" / "until EVENT or EVENT"11:42
shawarmaKeybuk: Well, b) more clearly conveys the fact that upstart manages the job and doesn't just start and stop it.12:29
=== Keybuk hugs nih_tree_*()
=== mbiebl [i=michael@conference/debconf/x-c38ff726d7fd6bd2] has joined #upstart
Keybukshawarma: from/until fits in better with adding "while" as well01:23
Keybukfrom starting dbus01:23
Keybukuntil stopped dbus01:23
Keybukwhile filesystem-writable and network-available01:23
Keybuk(other suggestions from the floor welcome <g>)01:24
=== sadleder [n=sadleder@p5081474A.dip0.t-ipconnect.de] has joined #upstart
=== sadleder [n=sadleder@p5081474A.dip0.t-ipconnect.de] has left #upstart []
=== Starting logfile irclogs/upstart.log
=== ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #upstart
=== Topic for #upstart: Upstart 0.3.8 | http://upstart.ubuntu.com/ | http://upstart.ubuntu.com/wiki/UpstartOnGentoo
=== Topic (#upstart): set by Md at Sun May 6 19:59:46 2007
=== Trevelyan` [n=Jim@unaffiliated/trevelyan] has joined #upstart
Trevelyan`hi. looking at launchpad it seems that init script replacement jobs writting seems to have stalled. is this true or has the work moved elsewhere?03:55
KeybukTrevelyan`: we're working on changes to Upstart itself to make it possible03:56
Trevelyan`still not happy with how jobs (defs) work?03:58
Keybuklargely, yes03:59
Keybukthe issue has been the implementation of more complex event expressions than just an "OR" list03:59
KeybukUpstart 0.2 and 0.3 just implement "start on"/"stop on" as a list of events, and any can match04:00
Keybukthat's obviously not flexible enough (and we knew it wouldn't be)04:00
Keybukthe delay has been coming up with a replacement expression language that is as flexible as we want, but with very well defined behaviour04:00
KeybukI think we're on a very good track for it now, with some really nice features04:00
Trevelyan`cool. I tried initng, but upstart i think has more promise. however until it has jobs that will do parallel job/process starts i wont get much use out of it, ifykwim.04:04
Trevelyan`thank you for explaining that.04:04
Keybukthese things take some amount of time to get right04:05
Trevelyan`no doubt04:05
Keybukand I'm being deliberately cautious, rolling out changes incrementally and testing them, rather than trying to do it all at once04:05
Trevelyan`sensible, but having said that it surprises me more that upstart went into ubuntu so quick.04:06
Keybukhow so?04:06
Keybukin order to test, you need a group of users to test it on04:07
Trevelyan`not that it wasn't ready, but how young it was04:07
Trevelyan`that is true04:07
=== mbiebl [i=michael@conference/debconf/x-a07c00e6b6d16ce5] has joined #upstart
Keybukthe set of features of 0.2.7 was a superset of those of sysvinit04:09
Keybukso it was an ideal way to test it, since it could behave like sysvinit while stress-testing the new code in the field04:09
Trevelyan`i gather it went well? since i've not really heard anything that negative about the upstart in ubuntu.04:11
Trevelyan`anyway i look forward to upstart reaching its full potential, and my laptop booting in a couple of seconds =)04:13
Keybukit's gone well, yes04:13
Keybukit's taking a little longer to develop than anticipated, but there's no major panics yet :)04:14
ion_trevelyan: While youre at it, replace the BIOS with something better and faster. :-)04:15
Trevelyan`http://linuxbios.org/index.php/Main_Page04:16
ion_Yes. :-)04:16
Keybukmeh, BIOS isn't that slow04:18
Trevelyan`although i think that might be a step too far for Dell's tech support to swallow =)04:18
Trevelyan`they only just about accept the fact we run debian04:18
Trevelyan`although since they now ship ubuntu i guess they can't blink at our ubuntu desktops.04:20
Trevelyan`i don't know what dell uses but for their desktops/laptops it fairly fast on what i like to think as cached boots (ie nothings hw or bios wise has changed since last boot)04:24
Trevelyan`on their servers it can take as long as 5 mins before you reach grub =/04:24
=== juergbi_ [n=juerg@80-219-19-116.dclient.hispeed.ch] has joined #upstart
=== mbiebl [i=michael@conference/debconf/x-5a099aaeee12455a] has joined #upstart
=== Amaranth [n=travis@ubuntu/member/Amaranth] has joined #upstart
=== mbiebl_ [i=michael@conference/debconf/x-781a73d31aa734fd] has joined #upstart
AlexExtremeKeybuk: what would i need to do if i wanted to add a new command to initctl to change profile?06:07
KeybukAlexExtreme: it's a little complicated ;)06:09
AlexExtremeheh06:09
Keybukfirst you need to modify libupstart06:09
Keybukadd appropriate messages and replies to upstart/message.h, and then modify upstart/message.c so that the arguments in both directions are correctly marshalled06:09
Keybukthe usual format here is a "change profile" message from initctl, along with a generic "current profile" message that can be used as both a reply, and as a subscription event06:10
Keybukcf. the emit/event series06:10
Keybuksecond you need to modify upstart itself06:10
AlexExtremeso that it receives the message and does the appropriate thing with it?06:11
Keybukthis is quite easy, just add a function to init/control.c and hook it into the message table, that handles your marshalled message - it looks like an ordinary function that has some useful effect06:11
Keybukand lastly you need to modify initctl06:11
Keybukadd an action function that makes the appropriate initctl_send call06:11
Keybukand add handle functions to deal with the replies06:12
AlexExtremeok06:12
Keybukhttp://upstart.ubuntu.com/wiki/JobEventExpressions06:15
Keybuk^ for proof-reading and comment06:15
AlexExtreme*clicks*06:15
=== mbiebl_ [i=michael@conference/debconf/x-ac2c41e20755d2c7] has joined #upstart
AlexExtremethere's a small typo in the design section06:17
AlexExtreme"The expression, or sub-expressions within parentheses) must"06:17
AlexExtremewhere's the opening bracket for that closing bracket? ;)06:17
Keybukheh06:18
Keybukfix it for me :p06:18
AlexExtremek :P06:18
AlexExtremedone06:19
Keybukany comments on the design, rather than my typing? :p06:19
AlexExtremei haven't finished reading yet ;)06:19
AlexExtremebah, what is it with the weather in this country?06:19
AlexExtremethis is supposed to be summer!06:19
AlexExtremegah, thunderstorm overhead, i'll bbiab06:20
Keybukit's doing similar here06:21
wasabiKeybuk, I don't see our "from" idea there. Has that cahnged?06:40
wasabioh wait there it is.06:40
wasabiunresolved issues heh06:40
Keybuk:)06:41
AlexExtremeback06:54
=== AlexExtreme continues reading the spec
AlexExtremeKeybuk: IMO the from/until is better because it makes it reading a job sound more like the time period in which the job is run (i hope that makes sense :))07:02
=== mbiebl [i=michael@conference/debconf/x-8ea951b7c2f4f08a] has joined #upstart
AlexExtremethis seems like a "simpler" verson of c-e-c07:08
=== mbiebl [i=michael@conference/debconf/x-40b85494925c0240] has joined #upstart
=== mbiebl [i=michael@conference/debconf/x-db21024cb578a97b] has joined #upstart
KeybukAlexExtreme: it's intended to be step #1 in replacing c-e-c07:36
Keybukstep #2 is to introduce "States" which are jobs without the jobbish bits. ie just from/until07:36
Keybukstep #3 is to allow expansion of from events in the until expression07:37
Keybukstep #07:37
Keybukstates introduce a "while" stanza07:37
Keybukand I do think that from/until/while go together nicely07:37
AlexExtremecool, sounds good07:40
=== Md [i=md@freenode/staff/md] has joined #upstart
=== juergbi [n=juerg@80-219-17-66.dclient.hispeed.ch] has joined #upstart
=== juergbi [n=juerg@80-219-17-66.dclient.hispeed.ch] has joined #upstart
=== Md [i=md@freenode/staff/md] has joined #upstart
=== Trevelyan` [n=Jim@unaffiliated/trevelyan] has joined #upstart
=== tale [n=tale@207.235.54.1] has joined #upstart
=== Keybuk [n=scott@quest.netsplit.com] has joined #upstart
=== ion_ [i=ion@heh.fi] has joined #upstart
=== kylem [n=kyle@amnesiac.heapspace.net] has joined #upstart
=== thom [n=thom@amnesiac.heapspace.net] has joined #upstart
=== dg [i=dgl@otherwize.co.uk] has joined #upstart
=== shawarma [n=sh@atlas.linux2go.dk] has joined #upstart
=== jonib1 [n=jonas@213.212.2.165] has joined #upstart
=== AlexExtreme [n=AlexExtr@frugalware/developer/AlexExtreme] has joined #upstart
=== crazy [n=crazy@frugalware/developer/crazy] has joined #upstart
=== benmur [n=benmur@friends.sukria.net] has joined #upstart
=== dAndy [i=dandy@serenity.cat.pdx.edu] has joined #upstart
=== wasabi [n=wasabi@207.55.182.70] has joined #upstart
=== Amaranth [n=travis@ubuntu/member/Amaranth] has joined #upstart
=== phoenix24 [i=ahqub@ns37986.ovh.net] has joined #upstart
ion_Wow. By using the GUI edit mode, i managed to do a huge diff, while adding just a single character. http://upstart.ubuntu.com/wiki/JobEventExpressions?action=diff&rev2=3&rev1=209:48
ion_It changed each `...` to {{{...}}}09:48
ion_Is it possible to subscribe to each current and future spec at the Upstart wiki?09:54
=== phoenix24_ [i=rqf@ns37986.ovh.net] has joined #upstart

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