=== 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 | ||
Keybuk | interesting | 10:26 |
---|---|---|
Keybuk | upstart's tests consistently fail on the buildds | 10:26 |
Keybuk | (null):alloc.c:416: Assertion failed in nih_alloc_size: ptr != NULL | 10:26 |
Keybuk | FAIL: test_file | 10:26 |
Keybuk | passed on powerpc and sparc | 10:28 |
Keybuk | failed on both real architectures, and itanium | 10: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 | ||
drakeoutlaw | hi all, can we boot to a non gui console with the single command? | 01:26 |
drakeoutlaw | !single | 01:26 |
=== Seveas [n=seveas@ubuntu/member/seveas] has joined #upstart | ||
Keybuk | drakeoutlaw: depends on the distribution; which are you using? | 01:30 |
drakeoutlaw | edgy, but there is no /etc/inittab | 01:32 |
Keybuk | yes, you can still use "single" to get to single-user mode | 01:33 |
drakeoutlaw | ok, but how to change the default run level? | 01:34 |
Keybuk | see /usr/share/doc/upstart/README.Debian.gz | 01:34 |
drakeoutlaw | ok willdo | 01:35 |
=== drakeoutlaw [n=ss@203.81.219.82] has left #upstart ["Leaving"] | ||
=== mbiebl [n=michael@e180127044.adsl.alicedsl.de] has joined #upstart | ||
Keybuk | hmm | 02:01 |
Keybuk | again I can't help but think that "failed" shouldn't be a separate event, but should be an argument to the "stopped" event | 02: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 | ||
wasabi | Keybuk: 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 |
wasabi | Without having to explicitly say stopped or failed | 06:50 |
wasabi | And most dependencies care about the fact that the server is gone, less about the particulars about why it is gone. | 06:50 |
Amaranth | so can we actually start writing useful jobs or whatever with 0.3? :) | 07:09 |
Keybuk | well, failed was always going to be followed by stopped | 07:11 |
Keybuk | the reason I was thinking of merging them is that there's no way right now to say "until this job succeeds" | 07:11 |
Keybuk | e.g. ntpdate, you only want to run once | 07:11 |
Keybuk | on network-interface-up and from startup until $NTPDATE_DIDNT_FAIL | 07:11 |
Keybuk | Amaranth: that's the intent | 07:12 |
Keybuk | 0.2 was "let's see if the daemon code works, and is sound in principal" | 07:12 |
Amaranth | heh | 07:12 |
Amaranth | i'll have to look into converting willowng to use it | 07:12 |
Amaranth | although it's not particularly complex, just starting and stopping, no fancy stuff | 07:12 |
Keybuk | that's a dbus service? | 07:19 |
AlexExtreme | hmm, 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 |
Keybuk | I've no idea | 07:25 |
Keybuk | I suspect, given jdub, that they'll all be live streamed or something | 07:25 |
Keybuk | I'm in the big hall, so it's possible | 07:25 |
AlexExtreme | great | 07:25 |
Keybuk | Amaranth: looking at the willowng package in edgy; it'd be something like | 07:27 |
Keybuk | start on started dbus | 07:27 |
Keybuk | stop on stopping dbus | 07:27 |
Keybuk | exec /usr/sbin/willowng | 07:27 |
Amaranth | yeah, real simple :) | 07:28 |
Keybuk | I'd probably write it as | 07:28 |
Keybuk | from started dbus until stopping dbus | 07:28 |
Keybuk | respawn /usr/sbin/willowng | 07:28 |
Keybuk | so it gets respawned as well; and acts statefully | 07:28 |
Amaranth | wow, i love upstart | 07:34 |
Amaranth | the init script is like 20 lines of garbage | 07:34 |
Amaranth | that's 2 lines that tell you exactly what's going on | 07:34 |
AlexExtreme | yeah | 07:35 |
AlexExtreme | it's the simplest i've ever seen | 07:35 |
AlexExtreme | none of the other "next-gen" init systems do that as simply as that | 07:35 |
Amaranth | There is a lot of magic behind the scenes to make things that simple, I'm sure. | 07:36 |
AlexExtreme | see the specifications for upstart on launchpad ;) | 07:36 |
Keybuk | I like reading the really old specs, and being amused by how much has changed in a year | 07:38 |
AlexExtreme | yeah | 07:38 |
Keybuk | the 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 |
Keybuk | we have something like 8 now | 07:39 |
AlexExtreme | :P | 07:39 |
_ion | :-) | 07:39 |
Keybuk | and that goes on about "edge events" and "level events" | 07:40 |
Keybuk | we do still need to rename /etc/event.d | 07:50 |
AlexExtreme | why's that? | 07:51 |
Keybuk | it's not very descriptive of its content | 07:51 |
Keybuk | it contains definitions of services, tasks and states | 07:51 |
Keybuk | not events :) | 07:51 |
AlexExtreme | so, servicetaskstate.d? :) | 07:51 |
=== juergbi [n=juerg@80-219-26-249.dclient.hispeed.ch] has joined #upstart | ||
AlexExtreme | gotta go | 07:54 |
Keybuk | http://opensolaris.org/os/project/smf-profiles/;jsessionid=A8CF91BE41ED07443BFA5A4F686515D0 | 07:54 |
Keybuk | interesting | 07: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!