/srv/irclogs.ubuntu.com/2007/03/08/#upstart.txt

=== 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
HTSJacket_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:07
HTSJacket_the three lines in my event are: start on startup          exec /usr/bin/passwd         console output06:22
HTSJacket_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?06:36
=== 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
fatalCould this be correct or should it be fixed some other way? http://fatal.se/tmp/upstart-sig.diff10:04
=== pkt [n=pantelis@athedsl-279689.otenet.gr] has joined #upstart
=== Md [i=md@freenode/staff/md] has joined #upstart
_ionfatal: You probably should send it to Keybuk or the mailing list.10:37
fatalI 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...10:53
=== 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
Keybuk*sigh*01:04
Keybukevery time I try to explain or demonstrate how upstart works, I find buts01:04
Keybukbugs too01:04
=== Keybuk found two state transition bugs last night
Keybukthe 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:05
Keybukthe 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 stopped01:06
_ionIt 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
_ionBtw,01:23
_ionto110450 < fatal> Could this be correct or should it be fixed some other way? http://fatal.se/tmp/upstart-sig.diff01:23
_ionto113739 < _ion> fatal: You probably should send it to Keybuk or the mailing list.01:23
_ionto115309 < 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:23
Keybukhttp://codebrowse.launchpad.net/~keybuk/libnih/main/revision/scott%40netsplit.com-20070213153816-p1uyfqil3b33jt2w?start_revid=scott%40netsplit.com-20070302112615-e8kojdbnxg2pytz001:24
Keybukhttp://codebrowse.launchpad.net/~keybuk/libnih/main/revision/scott%40netsplit.com-20070213180004-442ndyfx5pq1a70i?start_revid=scott%40netsplit.com-20070302112615-e8kojdbnxg2pytz001:24
_ionAh. :-)01:25
_ionkeybuk: Btw, have you had time to inspect the delayed_watch changes?01:32
_ionOf course, there are more acute things.01:32
Keybukyeah I've looked over them quite a bit01:33
Keybukmy plan is to integrate your patch directly into nih/watch.c, since it's useful enough that it should be done by default01:34
_ionOk, nice.01:34
Keybukit 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 files01:35
Keybuk(random)02:00
Keybukthe difference in languages is incredible02:00
Keybukupstart would be substantially larger and more complex if it *weren't* written in C02:00
Keybukbut initctl would be substantially smaller and simpler if it was written in something like Python02:01
_ionHeh02:03
=== 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"]
wasabi_merging huge branches of code which have been independent for 2 months is pretty mindnumbing.04:15
wasabi_</random>04:15
Keybukyeah04:16
=== 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

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