/srv/irclogs.ubuntu.com/2009/04/14/#upstart.txt

Zeqadiousdamjan: did those scripts help you?14:14
pwgenhi20:12
pwgencan someone tell me how i can use the dbus interface on upstart 0.5.1 ? 20:12
keesjpwgen: what kind of thing do you want to do?20:15
keesjit's all generated code based on the xml files. the xml describes the interface20:16
pwgenkeesj: 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
pwgenor another question . how can i enable DEBUG in upstart 0.5.1 sources ?20:46
keesjthat'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
pwgencan i do this by kernel-cmd line or by runtime ? and how ? ..20:48
=== notting_ is now known as notting
keesjI don't have a running dbus here you should be able to try to type something like this20:50
keesjdbus-send --system  --type=method_call --print-reply --dest=com.ubuntu.Upstart /com/ubuntu/Upstart com.ubuntu.Upstart.GetAllJobs20:50
keesjinitctl log-priority debug (I think)20:51
pwgeni 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
keesjI have not tested this command btw , we don't run the dbus daemon20:53
pwgendbus send result in . ...ServiceUnknown .. (:-(( 20:53
keesjdbus equals pain20:54
pwgenmaybe some probs on initialisation  20:55
pwgenbut how can i increase the debug level ?20:55
pwgenhmm it also says not provided by any .service 20:55
keesjdidn't the  initctl log-priority debug work?20:55
keesjupstart uses syslog to log so you might also need to tweak the verbosity level at the syslog layer20:56
pwgencan i send some signals to force reinit ( init -q  ?) 20:57
keesjkill 120:58
pwgenand i am runnin on an embedded zaurus with no syslog , logread instead .. 20:58
pwgenahh THX20:58
keesjexec /sbin/syslogd -n -C -S -l 820:59
=== notting_ is now known as notting
keesjthis is what we use a syslog(busybox) (also using logread)20:59
pwgeni 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
keesjpwgen: 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
pwgenyes oe with extra  patch to disable oom writing on booting , while there is no oom ... 21:01
pwgenyes oe with extra  patch to disable oom writing on booting , while there is no /proc21:01
pwgenbut my package may not ship the .service file ( /usr/share/dbus-1/com.ubutu.Upstart.service is not there )21:03
keesjI 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 me21:03
keesjI replaced init with a shell init script that mounts /proc and performs a exec upstart21:04
pwgenhmm that may be another workaround . 21:05
pwgenwhere in the source is the .service file ? 21:06
pwgenor 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!