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