/srv/irclogs.ubuntu.com/2007/10/15/#upstart.txt

=== JohnFlux [n=JohnFlux@konversation/developer/JohnFlux] has joined #upstart
JohnFluxHey all03:55
JohnFluxto any developers..  could you include a package with the header files etc?03:56
JohnFluxit's currently impossible to write a program that queries upstart etc03:56
=== Starting logfile irclogs/upstart.log
=== ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #upstart
=== Topic for #upstart: Upstart 0.3.9 | http://upstart.ubuntu.com/ | http://people.ubuntu.com/~fabbione/irclogs/ | https://lists.ubuntu.com/archives/upstart-devel/2007-October/000468.html
=== Topic (#upstart): set by Keybuk at Thu Oct 11 23:46:59 2007
=== juergbi [n=juerg@80-219-21-79.dclient.hispeed.ch] has joined #upstart
=== GodEater_ [n=bryan@rockbox/staff/GodEater] has joined #upstart
sorenJohnFlux: Huh? How do you figure that?08:52
JohnFluxsoren: ah hey!09:03
JohnFluxsoren: I have ubuntu09:04
JohnFluxsoren: If I look at what packages there are, there's no libupstart of libupstart-dev etc09:04
sorenJohnFlux: Why do you need them?09:05
JohnFluxsoren: if I look at the files that come with it just "upstart" there's no libraries nor header files09:05
JohnFluxsoren: so that I can make a gui for upstart09:05
sorenJohnFlux: Er..09:05
sorenJohnFlux: You don't need header files or libraries to do anything like that.09:06
JohnFluxsoren: in particular, I want to be able to get a list of running services, for example09:06
sorenstatus09:06
JohnFluxI'd much prefer a library to trying to parse the output of programs :/09:07
sorenSorry, I meant "initctl list".09:07
=== JohnFlux nods
JohnFluxsoren: so how about?  a libupstart ? :)09:09
sorenThere's no such thing. You can try convincing Keybuk that it'd be useful and you might get lucky :)09:10
JohnFluxhe's comes in here right?09:10
JohnFluxI'll give that a shot thanks09:10
sorenYeah, he'll be around in an hour or so, I'd guess.09:10
JohnFluxbtw I'm the maintainer of the kde "task manager" type thinig09:10
JohnFluxthing09:11
JohnFluxjust looking to use upstart info to improve the info of what's shown09:11
Jc2kJohnFlux: i think libupstart is about to be killed off10:06
Jc2ksee the mailing list post that the topic refers to10:06
Jc2k"libupstart goes away, which nobody else is using anyway."10:06
Jc2kinstead there will be dbus aplenty10:09
=== Md [i=md@freenode/staff/md] has joined #upstart
=== Keybuk [n=scott@wing-commander.netsplit.com] has joined #upstart
=== Keybuk amuses at the upcoming feature list for Bazaar
Keybuk"Pack-based repositories"01:42
KeybukTHE RAPTORS ARE COMING!01:42
=== soren wonders if Ubuntu 13.04 will be the rowdy raptor release.
Keybukravenous raptor01:47
sorenGood one.01:48
KeybukI need a brain-to-tomboy sync plugin01:50
Keybukso when I think of neat code changes in bed, I don't need to have to try and remember them in the morning01:51
sorenAny reasonable person would suggest some sort of intermediate storage like a piece of paper, but I haven't managed to implement that either.01:53
sorenAlthought it is a bit alarming to imagine how many good ideas have just vanished because I haven't bothered to write them down before falling asleep.01:53
Keybukaye01:54
=== mbiebl [n=michael@p4FD2E0A7.dip.t-dialin.net] has joined #upstart
JohnFluxJc2k: nobody is using it because it's impossible to use02:44
JohnFluxJc2k: it's not actually shipped02:44
JohnFluxJc2k: I've been wanting to use it for ages02:44
JohnFluxJc2k: I asked on the mailing list about it like 6 months ago02:44
JohnFluxJc2k: it will be a shame if it's just killed off 02:45
Jc2kwhy? isnt libupstart mostly about ipc? which will be handled via dbus, and thus *easily* accessible?02:46
Keybukit's entirely about IPC02:49
=== Amaranth_ [n=travis@ubuntu/member/Amaranth] has joined #upstart
Jc2kso therefore JohnFlux has nothing to fear by libupstart death, in fact has much to gain from it.02:50
Keybukhe won't have to rewrite his front-end with every minor release, for a start ;)02:51
JohnFluxactually that does sound good02:52
KeybukJohnFlux: libupstart has never been a stable API02:52
Keybukinitctl uses it, but that's it02:52
JohnFluxhow far along is it btw?02:53
JohnFluxthe dcop thing02:53
Keybuk?02:53
Keybukhow far along is what?02:54
Jc2ks/dcop/dbus/02:54
JohnFluxright hehe02:54
JohnFluxDoes it offer a dbus service at the moment?02:54
Jc2kKeybuk: how long till 0.5 basically02:54
Keybukno02:54
Keybukfar along = not even started02:54
JohnFluxheh02:54
JohnFluxfair enough02:54
JohnFluxdo any other distros use upstart btw?02:55
JohnFluxor just ubuntu?02:55
Keybukjust ubuntu at the moment02:56
KeybukI've made a few commits to Upstart in the last few days04:53
Keybukand lots to libnih :p04:53
Keybukso I'm at least starting on the roadmap to 0.504:53
Jc2k\o/04:54
Jc2koh04:54
Jc2kquestionage04:54
Jc2kcan upstart be forced to run as a slave of "old" init?04:55
=== Jc2k is thinking of a less 'controversial' migration path and can't spell
sorenHaving two init implementations running side by side is hardly less controversial than what Ubuntu currently does?04:56
Jc2kif something depended on upstart and upstart could be installed without ripping the heart out of your distrothen it would be a lot more viable04:59
Jc2k*shrugs*05:00
Keybukthe problem with being a slave is that it isn't init05:01
Keybukso doesn't get afforded init's special privileges05:01
Jc2kbleh05:01
=== Jc2k kicks unix
sorenJc2k: You should know that UNIX kicks harder. :)05:01
Jc2k:)05:02
Keybukyou could write an upstart parser for inittab :)05:02
Keybukthen it could just be a drop-in replacement for sysvinit05:02
Keybukon trunk, that should be quite easy05:02
Jc2kinteresting05:03
Keybukinittab would be a ConfSource, register jobs with useful names like "inittab/$id", etc.05:05
Keybukcertainly upstart supports a superset of inittab's features05:05
=== toidinamai [n=frank@i59F7021D.versanet.de] has joined #upstart
=== Amaranth [n=travis@ubuntu/member/Amaranth] has joined #upstart
=== Md [i=md@freenode/staff/md] has joined #upstart
=== Starting logfile irclogs/upstart.log
=== ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #upstart
=== Topic for #upstart: Upstart 0.3.9 | http://upstart.ubuntu.com/ | http://people.ubuntu.com/~fabbione/irclogs/ | https://lists.ubuntu.com/archives/upstart-devel/2007-October/000468.html
=== Topic (#upstart): set by Keybuk at Thu Oct 11 23:46:59 2007
ion_:-)09:32
Keybuknow, of course, I have to work around the ways I was attempting to work around the lack of something I've now implemented09:47
Keybukyay, ok init builds again10:15
Keybuknow for the tests10:15
Keybuk==13312==  Address 0x1C is not stack'd, malloc'd or (recently) free'd11:09
Keybukthat would be bad, then11:09
=== Keybuk is having strange valgrind bugs
Keybuk==32728== Invalid write of size 412:23
Keybuk==32728==    at 0x8093F89: nih_list_cut (list.c:202)12:23
Keybuk==32728==    by 0x809405D: nih_list_destroy (list.c:246)12:23
Keybuk==32728==    by 0x8092C09: nih_free (alloc.c:330)12:23
Keybuk==32728==    by 0x8092C34: nih_free (alloc.c:336)12:23
Keybuk==32728==    by 0x808D243: parse_job (parse_job.c:278)12:23
Keybuk==32728==    by 0x805DF5B: test_stanza_start (test_parse_job.c:2185)12:23
Keybuk==32728==    by 0x8087030: main (test_parse_job.c:7303)12:23
Keybuk==32728==  Address 0xBEEFA174 is just below the stack ptr.  To suppress, use: --workaround-gcc296-bugs=yes12:23
Keybukoh I see12:41

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