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

warrenKeybuk: yes 441339 is true in sysvinit00:14
* warren checks for K* scripts00:14
warren/etc/rc.d/rc1.d has K scripts of everything00:18
sadmac2Keybuk: So, we want to add telinit u functionality to upstart16:10
sadmac2Keybuk: we can do it the quick way, just make telinit u kill -TERM 1, or we can add an upstart message16:11
Keybukright16:11
sadmac2We're currently looking at the latter. Which would you expect is preferable?16:12
Keybuklatter is harder16:12
sadmac2true, but its not that hard16:12
Keybukthough obviously more forwards portable since in 0.5 it would be a dbus command anyway16:12
sadmac2does doing it as a message make it more forwards portable? I would assume less since all that messaging stuff is getting replaced with dbus16:14
Keybukright16:15
Keybukbut at least it would be ideologically the same16:15
sadmac2so 0.5 won't handle TERM?16:15
Keybukit might16:24
Keybukbut that obviously won't be the preferred way to do it16:24
Keybuksince it doesn't fail well if init is /bin/bash ;)16:24
sadmac2true16:25
sadmac2Keybuk: so within init, should I a) move term-handler so its somewhere I can call it. b) copy the restarting code from term_handler. c) selfTERM?16:34
Keybukself term is probably easier ;)16:36
sadmac2yes it is.16:36
sadmac2gaaah!17:21
sadmac2Apr  8 12:21:24 foucault init: control.c:364: Assertion failed in control_version_query: type == UPSTART_VERSION_QUERY17:22
sadmac2I ALREADY FIXED THAT ASSERTION!17:22
sadmac2why? why won't the problem go away when I fix it?17:22
sadmac2... or maybe that just isn't the line I thought it was...17:24
Keybuklol18:05
Keybukassert() is your friend18:05
ion_Assertion bugs are the easiest to fix, just remove the assert() call. :-P18:06
Keybukthat's like saying that gout is easy to fix, just remove the leg18:06
=== cdahlin is now known as sadmac2
ion_\\oo/ ← Zaphod18:39
=== elmarco_ is now known as elmarco

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