[14:57] hi [14:58] hi [14:59] upstart can read some init.conf. are there sample for this file or have i read the code to find out hot to configure upstart ? [14:59] there is no init.conf [15:00] i am on version 0.5.1 . [15:00] pwgen: http://upstart.ubuntu.com/getting-started.html [15:01] 0.3.9 examples should also work with 0.5.1 ? [15:02] with some tweaking [15:02] and the most important question , how do i get the upstart connected to dbus-daemon ? [15:03] chicken-and-egg right now ;) [15:03] i have a running openembedded ( zaurus ) with upstart 0.5.1 and a systembus script, that starts dbus , but i have only org.freedesktop.DBus runnung no com.ubutu.upstart .. [15:03] just connect the tools directly to upstart [15:04] it has its own socket [15:04] how can i connect the tools directly ? [15:05] and how to increase debug level ? [15:10] DBUS_SYSTEM_BUS_ADDRESS=unix:abstract=/com/ubuntu/Upstart dbus-send --system... [15:10] --debug [15:14] i have a dbus daemon running/started by upstart , so i can do dbus calls, but the upstart isn't registered at the daemon, so i can try sending to com.ubuntu.Upstart, but there will neve be an answer because upstart is not registered ..(:-(( [15:15] will there be in future support for dbus ? or will this part of development stalled ? [15:17] Upstart communicates using the D-Bus protocol [15:17] you just have to connect to it [15:17] it doesn't communicate through the bus daemon yet [15:19] ok i have to leave now ... until later ... [15:57] back [16:19] Keybuk: i tried dbus-send --system --print-reply --type=method_call --dest=com.ubuntu.Upstart / com.ubuntu.Upstart.GetVersion -> res .. was not provided my any service file ..(:-(( [16:20] did you set the environment variable first? [16:21] no .. pleas can you paste the env again . i am on a different irc client [16:21] DBUS_SYSTEM_BUS_ADDRESS=unix:abstract=/com/ubuntu/Upstart dbus-send --system... [16:21] thx [16:31] result with setting the env is: failed to connect to to socket /com/... connection refused [16:34] you sure you're running 0.5? [16:34] 0.5.1 [16:34] netstat -an | pastebinit [16:35] pastebinit ♥ [16:36] "unix 2 [ACC ] STREAM LISTENING 21 1/init " and 2 dbus-daemons are listening on unix sockets [16:40] ahh, upstart is listening on /com/ubuntu/upstart with small "U" [16:40] oh, heh [16:42] but i got : Failed to open ... .. Method "helo" with signature "" on interface org.freedesktop.DBus doesn't exist [16:42] s/helo/Hello/ [16:47] the dbus-send is getting to the init .. when i increase the loglevel with initctl log-priority debug i get output from the init .. [16:52] oh, you might not be able to use dbus-send :-/ [16:54] i can send to the org.freedesktop.DBus.GetId and get a result ( string "numeric id" ) [17:11] Lennart wants to get rid of /usr and put everything in / [17:12] ++ [17:14] the traditionalist in me is fighting it, but I did always sense some duplicity in the FHS [17:15] ++ [17:16] /Libraries [17:16] /System [17:16] intriguing. We'll see if he can hammer it through. [17:16] someone will go "won't SOMEBODY think of the RHEL!" and it will all end [17:17] Keybuk: it says a lot about me that I dislike /Libraries for aesthetic reasons :) [17:17] you don't like the capital L ? :) [17:17] too user friendly [17:18] computers stop being sexy when they stop being intimidating [17:18] As long as our filesystem is case-sensitive, no capital letters, please. [17:18] does the same apply to women? [17:18] hmm moving to / will overwrite /sbin/init with upstart init , and that will be interesting because a lot of packages need init ( sysV) [17:19] Keybuk: depends on the woman :) [17:21] Keybuk: http://pastebin.com/m5e4d1b8c netstat and loginfo [17:23] git bisect ♥ [17:23] pwgen: looks fine to me [17:23] pwgen: initctl works, right? [17:23] yupp i could change the loglevel by initctl [17:24] pwgen: then it works [17:24] initctl talks D-Bus over that socket [17:24] ahhh [17:28] sadmac: Yeah, bisect ftw. [18:01] for my understanding upstart provides its own dbus daemon, listening on /com/ubuntu/upstart , [18:02] pwgen: upstart doesn't provide a dbus daemon. Its just an endpoint [18:03] ok by setting the env to /com.ubuntu.. i can make a direct call to its interface , initctl use this direc call, but how can i make a call using the dbus daemon ? [18:04] pwgen: as of now you can't unless you start dbus in initrd (please don't) [18:07] embedded system here , with no initrd . So , there is no way of using python-dbus to call to upstart and do some actions , i am right ? [18:10] pwgen: python dbus should be able to do the same sort of direct connect... I'd expect anyway [18:12] bus = dbus.SystemBus() is failing with "UnknownMethod: Method "Hello" with signature "" on interface "org.freedesktop.DBus" doesn't exist" [18:12] pwgen: right, you won't do that. [18:13] you'll need some other call [18:14] so i have to use a binary wrapper to do upstart dbus calls . [18:15] no. you have to use the python api differently [18:15] do have some sample or docs about that ? [18:15] I don't === sadmac_ is now known as sadmac2