/srv/irclogs.ubuntu.com/2008/04/23/#upstart.txt

sadmac2Keybuk: is it done yet? is it done yet? 8D16:06
ion_:-)16:07
Keybuklol16:09
KeybukI was trying to decide whether I need to write test cases for the D-Bus binding tool16:09
KeybukI have test cases for its output already16:09
Keybuk(ie. C code that tests code generated by the binding tool)16:09
Keybukand was trying to decide whether I needed to test the binding tool to make sure it output code16:10
Keybukbut then I realised it'd be basically one big strcmp in the test case16:10
Keybukso am starting to think that's over testing16:10
ion_Heh16:11
sadmac2yeah16:12
sadmac2Keybuk: I'm looking again at dipping into kernelspace to create the IO mechanism logd needs16:18
KeybukI'm still hopeful that we can find some way to integrate logd with syslog and klog16:43
Keybukeither the standard implementations, or a replacement16:43
Keybukthough if we want to be able to mail output in failure, it may need to be internal to init itself16:44
ion_How about init just gathering the messages to a growing buffer, and dumping them to syslog whenever it becomes available?16:45
Keybukthat's probably what we'd have to do16:52
Keybukthat would be zero lines of code, which isn't bad ;)16:52
Keybuksince it's the direct inverse of how upstart runs shell scripts16:52
Keybukit has an arbitrary buffer in which it dumps the entire shell script for drip-feeding to the shell fd16:53
Keybukit'd just be the inverse, drip feed by read() not write()16:53
Keybukwhich I happily implemented at the time16:53
ion_:-)16:53
=== mbiebl_ is now known as mbiebl

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