=== khermans__ [i=administ@nat/cisco/x-9d81ffb6cb4369d9] has joined #upstart === j_ack [n=rudi@p508D9F51.dip0.t-ipconnect.de] has joined #upstart === HTSJacket_ [n=kevin@c-24-98-67-150.hsd1.ga.comcast.net] has joined #upstart [06:07] Hello, I am try to write an event for upstart 0.2.7 that needs input from the keyboard. I've put "console output" as the last line. Am I heading in the wrong direction? Thanks for any help you may be able to give! [06:22] the three lines in my event are: start on startup exec /usr/bin/passwd console output [06:36] I've been testing with no splash... but I guess I am misunderstanding the concept of /dev/console... how would I switch to a tty to get the input? === khermans__ [i=administ@nat/cisco/x-5557b87883524c21] has joined #upstart === Amaranth [n=travis@ubuntu/member/Amaranth] has joined #upstart === juergbi [n=juerg@80-219-17-102.dclient.hispeed.ch] has joined #upstart === int0x0c [n=ben@128.164.100.16] has joined #upstart === pkt [n=pantelis@athedsl-279689.otenet.gr] has left #upstart [""] === juergbi [n=juerg@80-219-17-102.dclient.hispeed.ch] has joined #upstart === fatal [i=gem@gamezone.fatal.se] has joined #upstart [10:04] Could this be correct or should it be fixed some other way? http://fatal.se/tmp/upstart-sig.diff === pkt [n=pantelis@athedsl-279689.otenet.gr] has joined #upstart === Md [i=md@freenode/staff/md] has joined #upstart [10:37] <_ion> fatal: You probably should send it to Keybuk or the mailing list. [10:53] I probably fucked something up, so I'll wait a while more before spreading it around too much... I just posted it to http://bugs.debian.org/413944 ... hopefully "djpig" will do another build attempt on sparc soon and verify if it's enough to build... === pkt [n=pantelis@87.203.81.40] has joined #upstart === pkt [n=pantelis@athedsl-18671.otenet.gr] has joined #upstart === Keybuk [n=scott@quest.netsplit.com] has joined #upstart [01:04] *sigh* [01:04] every time I try to explain or demonstrate how upstart works, I find buts [01:04] bugs too === Keybuk found two state transition bugs last night [01:05] the diagram says that pre-stop to running should not emit a "started" event, because we never emitted stopping or stopped. However the code did emit a started event again, and also didn't "forget" the reason that the job was tried to be stopped. [01:06] the other was that the diagram and code both said that starting to waiting shouldn't emit "stopped"; however this transition occurs if respawn/restart fails, so we do need to emit stopped [01:23] <_ion> It occurs to me that there might be nice state machine generators that generate both efficient code *and* a graphviz-style diagram, which could be checked for errors. They probably have the same problems as yacc has as a parser generator (which is why you wrote your own config parser). [01:23] <_ion> Btw, [01:23] <_ion> to110450 < fatal> Could this be correct or should it be fixed some other way? http://fatal.se/tmp/upstart-sig.diff [01:23] <_ion> to113739 < _ion> fatal: You probably should send it to Keybuk or the mailing list. [01:23] <_ion> to115309 < fatal> I probably fucked something up, so I'll wait a while more before spreading it around too much... I just posted it to http://bugs.debian.org/413944 ... hopefully "djpig" will do another build attempt on sparc soon and verify if it's enough to build... [01:24] http://codebrowse.launchpad.net/~keybuk/libnih/main/revision/scott%40netsplit.com-20070213153816-p1uyfqil3b33jt2w?start_revid=scott%40netsplit.com-20070302112615-e8kojdbnxg2pytz0 [01:24] http://codebrowse.launchpad.net/~keybuk/libnih/main/revision/scott%40netsplit.com-20070213180004-442ndyfx5pq1a70i?start_revid=scott%40netsplit.com-20070302112615-e8kojdbnxg2pytz0 [01:25] <_ion> Ah. :-) [01:32] <_ion> keybuk: Btw, have you had time to inspect the delayed_watch changes? [01:32] <_ion> Of course, there are more acute things. [01:33] yeah I've looked over them quite a bit [01:34] my plan is to integrate your patch directly into nih/watch.c, since it's useful enough that it should be done by default [01:34] <_ion> Ok, nice. [01:35] it doesn't eliminate the need to make sure that handling functions are idempotent, but it does at least eliminate some of the strange churn with the way editors make backup files, or write over other files [02:00] (random) [02:00] the difference in languages is incredible [02:00] upstart would be substantially larger and more complex if it *weren't* written in C [02:01] but initctl would be substantially smaller and simpler if it was written in something like Python [02:03] <_ion> Heh === ertw [n=ack@213-140-11-128.fastres.net] has joined #upstart === pkt [n=pantelis@85.75.128.136] has joined #upstart === Keybuk tries to work out what's left to do to initctl === mbiebl [n=michael@85.180.71.170] has joined #upstart === mastertsunami [n=Master@unaffiliated/mastertsunami] has left #upstart ["Leaving"] [04:15] merging huge branches of code which have been independent for 2 months is pretty mindnumbing. [04:15] [04:16] yeah === HTSJacket_ [n=kevin@router.emperor-sw2.exsbs.net] has joined #upstart === j_ack [n=rudi@p508DBE1A.dip0.t-ipconnect.de] has joined #upstart === mbiebl [n=michael@e180071170.adsl.alicedsl.de] has joined #upstart === j_ack [n=rudi@p508DBE1A.dip0.t-ipconnect.de] has joined #upstart === khermans__ [i=administ@nat/cisco/x-9e41dce35d4bbf18] has joined #upstart === mbiebl [n=michael@e180071170.adsl.alicedsl.de] has joined #upstart === mbiebl [n=michael@e180071170.adsl.alicedsl.de] has joined #upstart === Md [i=md@freenode/staff/md] has joined #upstart === wasabi_ [n=jhaltom@ubuntu/member/wasabi] has joined #upstart === j_ack [n=rudi@p508DBE1A.dip0.t-ipconnect.de] has joined #upstart