/srv/irclogs.ubuntu.com/2006/11/24/#upstart.txt

=== theCore_ [n=alex@modemcable128.255-131-66.mc.videotron.ca] has joined #upstart
=== theCore [n=alex@modemcable128.255-131-66.mc.videotron.ca] has joined #upstart
=== theCore [n=alex@modemcable128.255-131-66.mc.videotron.ca] has joined #upstart
=== theCore [n=alex@modemcable128.255-131-66.mc.videotron.ca] has joined #upstart
=== wasabi [n=wasabi@ubuntu/member/wasabi] has joined #upstart
=== theCore [n=alex@modemcable128.255-131-66.mc.videotron.ca] has joined #upstart
=== j_ack [n=rudi@p508D91CE.dip0.t-ipconnect.de] has joined #upstart
=== j_ack_ [n=rudi@p508D910F.dip0.t-ipconnect.de] has joined #upstart
=== mbiebl [n=michael@e180080017.adsl.alicedsl.de] has joined #upstart
=== mbiebl [n=michael@e180080017.adsl.alicedsl.de] has joined #upstart
=== Md [i=md@freenode/staff/md] has joined #upstart
=== Keybuk [n=scott@quest.netsplit.com] has joined #upstart
Keybuk*yawns*01:18
=== AlexExtreme yawns too
Keybukthankfully, it is Friday today01:19
AlexExtremeyup01:19
AlexExtremeis anyone free to add specs for upstart on launchpad?01:20
Keybukyeah01:20
Keybukthat's why I've moved the specs to the upstart product, and got our own wiki01:20
Keybukso brain storming doesn't get in the way of ubuntu releases01:20
AlexExtremeok01:20
AlexExtremei'll write a spec about profiles later if i get time01:21
AlexExtremeKeybuk: does this look ok to you? http://upstart.ubuntu.com/wiki/Profiles02:13
AlexExtremeif so i'll add it on launchpad02:13
KeybukAlexExtreme: you should probably indicate where the profiles are actually defined02:28
Keybukand how they're chosen02:28
Keybukalso you need to register the LP entry for it :)02:28
AlexExtremeok02:28
AlexExtremei've got a pretty good idea about that02:29
AlexExtremeeww02:33
AlexExtreme"Sorry, something just went wrong in Launchpad"02:34
AlexExtremehmm.02:34
AlexExtremeworks now02:34
=== yankees26 [n=yankees2@ool-182c6007.dyn.optonline.net] has joined #upstart
Keybukcool02:36
Keybuk(note: we're not using the "release goal" feature)02:36
AlexExtremeoh02:38
Keybukit's not really useful LP thing at the moment, milestones work better02:38
AlexExtremeok02:39
AlexExtremeok, i've added more stuff to the design section02:40
=== yankees26 [n=yankees2@ool-182c6007.dyn.optonline.net] has joined #upstart
Keybukhttp://upstart.ubuntu.com/wiki/JobsAsStates03:14
AlexExtremelooks good03:18
AlexExtremebtw, could you set a priority for the profiles spec? lp won't let me03:19
KeybukI'd like someone to write the competing "Flags" spec as well03:20
Keybukas there needs to be a decision about which route to follow03:20
AlexExtremek03:21
AlexExtremedamn, the weather in this country sucks. there's nothing like a good old rain shower to make you feel even better when doing boring coursework.03:30
wasabi_Jobs as states doesn't appear to differ in anyway from how it works currently: implicite start/stop events for a job03:32
wasabi_also: good morning03:32
AlexExtrememorning wasabi_03:33
AlexExtremewasabi_: jobs as states means that you can have a job without a exec/respawn/script03:33
wasabi_Keybuk: Are you going to be writing down our thai conversation? If not I might be able to get some time this afternoon to put it down.03:33
wasabi_AlexExtreme: Oh, missed that one little word "without"03:34
AlexExtreme:)03:34
wasabi_still need the basic state machine syntax put down in writing then03:34
Keybukyeah, plan to do that in a bit03:35
Keybukhttp://upstart.ubuntu.com/wiki/JobStates03:53
Keybuk^ does that read about right?03:54
Keybuk(the unwritten intent being, obviously, that post-start is run in the "starting" state and pre-stop run in the "stop" state03:55
AlexExtremeit sounds ok to me03:57
=== yankees26 [n=yankees2@ool-182c6007.dyn.optonline.net] has joined #upstart
yankees26that was odd (i couldn't reconnect)03:58
AlexExtremejust one comment on this: http://upstart.ubuntu.com/wiki/JobsAsStates - shouldn't it say "A job without either an exec, script or respawn" rather than "A job without either an exec or script" ? (yes, i'm being picky :P)03:58
yankees26was my question answered while i was gone?03:59
AlexExtremeyankees26: which question?03:59
KeybukAlexExtreme: respawn is syntatic sugar.  I tend to ignore it03:59
AlexExtremeah ok03:59
yankees26the return N_("stop") over return "stop"03:59
Keybukrespawn ... just means respawn\nexec ...04:00
yankees26'cause N_ would just return "stop"04:00
AlexExtremeyankees26: you lagged out so we probably didn't get it04:00
yankees26ah04:00
yankees26well in job.c in const char* functions, it returns N_("the string");04:01
yankees26and N_ is just a macro that returns "the string" so why not just do return "the string";04:02
AlexExtremeweno04:02
AlexExtreme*no04:02
AlexExtremeN_ performs localization04:02
yankees26really?04:02
AlexExtremeafaik, yes04:02
yankees26'cause i just see #define N_(_str) (_str)04:03
KeybukN marks it for localisation04:03
Keybuke.g.04:03
Keybukfoo () {04:03
Keybuk   return N_("the string");04:03
Keybuk}04:03
Keybukchar *a = foo():04:03
Keybukprintf ("%s\n", _(a));04:03
Keybukit marks the string as likely to be translated04:03
Keybukwhere the _(a) actually translates it04:03
yankees26oh, is this a natural compiler thing?04:04
Keybukit's a gettext thing04:04
yankees26or is it 'cause libintl.h and locale.h are included?04:04
yankees26ah ok04:04
yankees26upstart can completely replace sysvinit right? (like sysvinit doesnt even need to be installed)04:10
Mdright04:10
Mdthat's the point04:10
AlexExtremewell, you need some utilities from sysvinit if you wish to use the sysvinit compat stuff, but to run a fully upstartized system, you don't need it04:10
yankees26ah04:11
yankees26what would be missed from using fully upstartized system? (arent shutdown and reboot apps from the sysvinit compat)04:11
AlexExtremeno, upstart provides it's own04:12
yankees26ah04:12
Keybukpidof, killall5, sulogin, last, mesg04:13
Keybukthose are the binaries we still use from sysvinit atm04:13
yankees26ah04:14
yankees26well pidof i can mimic easily04:14
yankees26ps -e | grep app | awk {'print $1'}04:14
yankees26( i think thats how)04:14
yankees26(of course it isnt as safe)04:15
yankees26cause of grep04:15
Mdit would be nice if util-linux were actually maintained, so we could ask the maintainer to accept them there...04:15
yankees26is efty fully upstartized"?04:16
AlexExtremeno04:16
AlexExtremefeisty will be04:16
yankees26ah04:17
yankees26well hopefully i04:17
yankees26'll have nirvana done sometime in december and i can actually get to doing LFS with upstart04:17
Keybukhttps://wiki.ubuntu.com/DaemontoolsUpstartConfig04:40
Keybuk^ and the award for the most pointless thing in the universe to do goes to ...04:40
thom*giggle*04:40
AlexExtremeahahaha04:40
Keybukthe last two commands in his "Validate" section kinda prove why you really don't need daemon tools if you have upstart04:40
Keybukupstart supervising the supervisor04:41
AlexExtremeyeah04:41
Keybuk. o O { upstart-compat-daemontools }04:41
yankees26me being a dumb idiot has no idea what daemontools does and chooses to ignore it :P04:41
thomwell, you'll need some compat bits for daemontools, yeah04:41
thomthe way stdout and stderr and proctitling and stuff are handled04:42
thomand logging04:42
Keybukhow does it handled stdout/stderr ?04:42
thomcan't remember, i just remember it being funky04:43
thomit's been ~4 years since i last went near daemontools04:43
Keybukhttp://upstart.ubuntu.com/wiki/ComplexEventConfig05:31
Keybuk^ wasabi_, et al05:31
yankees26JobAsState link doesnt work05:32
yankees26says the page doesnt exist05:32
Keybukah, should be JobsAsStates05:34
yankees26ya05:35
!alindeman:*! Hi all! Wikipedia, the free content encyclopedia project we've all come to depend on, is approaching 1.5 million English articles. If you wish to track the countdown, join #wikimedia-milestones Of course, please don't go creating useless articles to "help" :-)05:48
=== mbiebl [n=michael@e180086162.adsl.alicedsl.de] has joined #upstart
=== theCore [n=alex@modemcable128.255-131-66.mc.videotron.ca] has joined #upstart
=== ekix [i=eki@a88-112-30-83.elisa-laajakaista.fi] has joined #upstart
=== j_ack [n=rudi@p508D910F.dip0.t-ipconnect.de] has joined #upstart
=== j_ack_ [n=rudi@p508D973B.dip0.t-ipconnect.de] has joined #upstart
=== j_ack_ is now known as j_ack

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