/srv/irclogs.ubuntu.com/2006/12/14/#upstart.txt

=== j_ack [n=rudi@p508D9258.dip0.t-ipconnect.de] has joined #upstart
=== j_ack [n=rudi@p508D9258.dip0.t-ipconnect.de] has joined #upstart
=== mbiebl [n=michael@e180107155.adsl.alicedsl.de] has joined #upstart
=== wasabi_ [n=wasabi@ubuntu/member/wasabi] has joined #upstart
=== theCore [n=alex@ubuntu/member/theCore] has joined #upstart
=== shoonya [n=rahasya@61.95.207.119] has joined #upstart
=== Keybuk [n=scott@quest.netsplit.com] has joined #upstart
Keybukinteresting10:26
Keybukupstart's tests consistently fail on the buildds10:26
Keybuk(null):alloc.c:416: Assertion failed in nih_alloc_size: ptr != NULL10:26
KeybukFAIL: test_file10:26
Keybukpassed on powerpc and sparc10:28
Keybukfailed on both real architectures, and itanium10:28
=== Seveas [n=seveas@ubuntu/member/seveas] has joined #upstart
=== Md [i=md@freenode/staff/md] has joined #upstart
=== drakeoutlaw [n=ss@203.81.219.82] has joined #upstart
drakeoutlawhi all, can we boot to a non gui console with the single command?01:26
drakeoutlaw!single01:26
=== Seveas [n=seveas@ubuntu/member/seveas] has joined #upstart
Keybukdrakeoutlaw: depends on the distribution; which are you using?01:30
drakeoutlawedgy, but there is no /etc/inittab01:32
Keybukyes, you can still use "single" to get to single-user mode01:33
drakeoutlawok, but how to change the default run level?01:34
Keybuksee /usr/share/doc/upstart/README.Debian.gz01:34
drakeoutlawok willdo01:35
=== drakeoutlaw [n=ss@203.81.219.82] has left #upstart ["Leaving"]
=== mbiebl [n=michael@e180127044.adsl.alicedsl.de] has joined #upstart
Keybukhmm02:01
Keybukagain I can't help but think that "failed" shouldn't be a separate event, but should be an argument to the "stopped" event02:01
Keybuk(or stopping)02:01
=== Seveas [n=seveas@ubuntu/member/seveas] has joined #upstart
=== j_ack_ [n=rudi@p508DAC41.dip0.t-ipconnect.de] has joined #upstart
=== j_ack_ [n=rudi@p508DAC41.dip0.t-ipconnect.de] has joined #upstart
=== Trigger7 [n=trigger@p54A7FE7F.dip.t-dialin.net] has joined #upstart
=== Seveas [n=seveas@ubuntu/member/seveas] has joined #upstart
=== popey [n=alan@ubuntu/member/popey] has joined #upstart
wasabiKeybuk: I agree with that. It makes the job easier for other people who want to know when the job is "no longer running"06:50
wasabiWithout having to explicitly say stopped or failed06:50
wasabiAnd most dependencies care about the fact that the server is gone, less about the particulars about why it is gone.06:50
Amaranthso can we actually start writing useful jobs or whatever with 0.3? :)07:09
Keybukwell, failed was always going to be followed by stopped07:11
Keybukthe reason I was thinking of merging them is that there's no way right now to say "until this job succeeds"07:11
Keybuke.g. ntpdate, you only want to run once07:11
Keybukon network-interface-up and from startup until $NTPDATE_DIDNT_FAIL07:11
KeybukAmaranth: that's the intent07:12
Keybuk0.2 was "let's see if the daemon code works, and is sound in principal"07:12
Amaranthheh07:12
Amaranthi'll have to look into converting willowng to use it07:12
Amaranthalthough it's not particularly complex, just starting and stopping, no fancy stuff07:12
Keybukthat's a dbus service?07:19
AlexExtremehmm, Keybuk: when you do that talk at linux.conf.au, will there be any way of seeing a video/audio of the talk? i'd quite like to see it but I can't easily get to Australia for it ;)07:25
KeybukI've no idea07:25
KeybukI suspect, given jdub, that they'll all be live streamed or something07:25
KeybukI'm in the big hall, so it's possible07:25
AlexExtremegreat07:25
KeybukAmaranth: looking at the willowng package in edgy; it'd be something like07:27
Keybuk     start on started dbus07:27
Keybuk     stop on stopping dbus07:27
Keybuk    exec /usr/sbin/willowng07:27
Amaranthyeah, real simple :)07:28
KeybukI'd probably write it as07:28
Keybuk    from started dbus until stopping dbus07:28
Keybuk    respawn /usr/sbin/willowng07:28
Keybukso it gets respawned as well; and acts statefully07:28
Amaranthwow, i love upstart07:34
Amaranththe init script is like 20 lines of garbage07:34
Amaranththat's 2 lines that tell you exactly what's going on07:34
AlexExtremeyeah07:35
AlexExtremeit's the simplest i've ever seen07:35
AlexExtremenone of the other "next-gen" init systems do that as simply as that07:35
AmaranthThere is a lot of magic behind the scenes to make things that simple, I'm sure.07:36
AlexExtremesee the specifications for upstart on launchpad ;)07:36
KeybukI like reading the really old specs, and being amused by how much has changed in a year07:38
AlexExtremeyeah07:38
Keybukthe PDF on the upstart website is particularly good <g>07:38
Keybuk"The basic design of upstart is that tasks exist in one of three states:"07:38
Keybukwe have something like 8 now07:39
AlexExtreme:P07:39
_ion:-)07:39
Keybukand that goes on about "edge events" and "level events"07:40
Keybukwe do still need to rename /etc/event.d07:50
AlexExtremewhy's that?07:51
Keybukit's not very descriptive of its content07:51
Keybukit contains definitions of services, tasks and states07:51
Keybuknot events :)07:51
AlexExtremeso, servicetaskstate.d? :)07:51
=== juergbi [n=juerg@80-219-26-249.dclient.hispeed.ch] has joined #upstart
AlexExtremegotta go07:54
Keybukhttp://opensolaris.org/os/project/smf-profiles/;jsessionid=A8CF91BE41ED07443BFA5A4F686515D007:54
Keybukinteresting07:54
=== j_ack [n=rudi@p508DAC41.dip0.t-ipconnect.de] has joined #upstart
=== Amaranth [n=travis@ip68-229-188-84.om.om.cox.net] has joined #upstart
=== steev64 [n=steev@gentoo/developer/steev] has joined #upstart
=== mbiebl [n=michael@e180086162.adsl.alicedsl.de] has joined #upstart
=== Amaranth [n=travis@ip68-229-188-84.om.om.cox.net] has joined #upstart
=== invalesco [n=invalesc@3e6b7b44.rev.stofanet.dk] has joined #upstart
=== maro [n=mark@0x55511dab.adsl.cybercity.dk] has joined #upstart
=== theCore [n=alex@ubuntu/member/theCore] has joined #upstart

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