Zeqadious | damjan: did those scripts help you? | 14:14 |
---|---|---|
pwgen | hi | 20:12 |
pwgen | can someone tell me how i can use the dbus interface on upstart 0.5.1 ? | 20:12 |
keesj | pwgen: what kind of thing do you want to do? | 20:15 |
keesj | it's all generated code based on the xml files. the xml describes the interface | 20:16 |
pwgen | keesj: i try a dbus call to com.ubuntu.Upstart , but there ist nothing there, how can i find out if upstart is registered ? | 20:42 |
pwgen | or another question . how can i enable DEBUG in upstart 0.5.1 sources ? | 20:46 |
keesj | that's a comiple time option , but what you can to is increase the logging level to quite high (this is also a dbus class) | 20:47 |
pwgen | can i do this by kernel-cmd line or by runtime ? and how ? .. | 20:48 |
=== notting_ is now known as notting | ||
keesj | I don't have a running dbus here you should be able to try to type something like this | 20:50 |
keesj | dbus-send --system --type=method_call --print-reply --dest=com.ubuntu.Upstart /com/ubuntu/Upstart com.ubuntu.Upstart.GetAllJobs | 20:50 |
keesj | initctl log-priority debug (I think) | 20:51 |
pwgen | i tried with mdbus -s com.ubuntu.Upstart and with dbus-inspector . both cann not find com.ubuntu.Upstart .. but ill try it with dbsu-send mompl. | 20:52 |
keesj | I have not tested this command btw , we don't run the dbus daemon | 20:53 |
pwgen | dbus send result in . ...ServiceUnknown .. (:-(( | 20:53 |
keesj | dbus equals pain | 20:54 |
pwgen | maybe some probs on initialisation | 20:55 |
pwgen | but how can i increase the debug level ? | 20:55 |
pwgen | hmm it also says not provided by any .service | 20:55 |
keesj | didn't the initctl log-priority debug work? | 20:55 |
keesj | upstart uses syslog to log so you might also need to tweak the verbosity level at the syslog layer | 20:56 |
pwgen | can i send some signals to force reinit ( init -q ?) | 20:57 |
keesj | kill 1 | 20:58 |
pwgen | and i am runnin on an embedded zaurus with no syslog , logread instead .. | 20:58 |
pwgen | ahh THX | 20:58 |
keesj | exec /sbin/syslogd -n -C -S -l 8 | 20:59 |
=== notting_ is now known as notting | ||
keesj | this is what we use a syslog(busybox) (also using logread) | 20:59 |
pwgen | i get some nice logiing info .. | 20:59 |
keesj | foreground (-n), small log data (-S), and to shared memory buffer (-C) , using a log level debug (-l 8) | 21:00 |
keesj | pwgen: using oe? | 21:01 |
pwgen | "daemon.debug init: job_class_register: Registered job /com/ubuntu/Upstart/jobs/tty4" lots of this for all job files .. but still no com.ubutuUpstart .(:-(( | 21:01 |
pwgen | yes oe with extra patch to disable oom writing on booting , while there is no oom ... | 21:01 |
pwgen | yes oe with extra patch to disable oom writing on booting , while there is no /proc | 21:01 |
pwgen | but my package may not ship the .service file ( /usr/share/dbus-1/com.ubutu.Upstart.service is not there ) | 21:03 |
keesj | I have also a patch to configure the log level in /etc/init.d/init.conf and to fix dbus naming(neither was accepted here) but the future of upstart is unclear if you ask me | 21:03 |
keesj | I replaced init with a shell init script that mounts /proc and performs a exec upstart | 21:04 |
pwgen | hmm that may be another workaround . | 21:05 |
pwgen | where in the source is the .service file ? | 21:06 |
pwgen | or what will be executed ( init ? ) for example: Exec=/usr/sbin/init ? | 21:08 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!