UbuntuIRC / 2008 /04 /08 /#upstart.txt
niansa
Initial commit
4aa5fce
[00:14] <warren> Keybuk: yes 441339 is true in sysvinit
[00:14] * warren checks for K* scripts
[00:18] <warren> /etc/rc.d/rc1.d has K scripts of everything
[16:10] <sadmac2> Keybuk: So, we want to add telinit u functionality to upstart
[16:11] <sadmac2> Keybuk: we can do it the quick way, just make telinit u kill -TERM 1, or we can add an upstart message
[16:11] <Keybuk> right
[16:12] <sadmac2> We're currently looking at the latter. Which would you expect is preferable?
[16:12] <Keybuk> latter is harder
[16:12] <sadmac2> true, but its not that hard
[16:12] <Keybuk> though obviously more forwards portable since in 0.5 it would be a dbus command anyway
[16:14] <sadmac2> does doing it as a message make it more forwards portable? I would assume less since all that messaging stuff is getting replaced with dbus
[16:15] <Keybuk> right
[16:15] <Keybuk> but at least it would be ideologically the same
[16:15] <sadmac2> so 0.5 won't handle TERM?
[16:24] <Keybuk> it might
[16:24] <Keybuk> but that obviously won't be the preferred way to do it
[16:24] <Keybuk> since it doesn't fail well if init is /bin/bash ;)
[16:25] <sadmac2> true
[16:34] <sadmac2> Keybuk: 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:36] <Keybuk> self term is probably easier ;)
[16:36] <sadmac2> yes it is.
[17:21] <sadmac2> gaaah!
[17:22] <sadmac2> Apr 8 12:21:24 foucault init: control.c:364: Assertion failed in control_version_query: type == UPSTART_VERSION_QUERY
[17:22] <sadmac2> I ALREADY FIXED THAT ASSERTION!
[17:22] <sadmac2> why? why won't the problem go away when I fix it?
[17:24] <sadmac2> ... or maybe that just isn't the line I thought it was...
[18:05] <Keybuk> lol
[18:05] <Keybuk> assert() is your friend
[18:06] <ion_> Assertion bugs are the easiest to fix, just remove the assert() call. :-P
[18:06] <Keybuk> that's like saying that gout is easy to fix, just remove the leg
=== cdahlin is now known as sadmac2
[18:39] <ion_> \\oo/ ← Zaphod
=== elmarco_ is now known as elmarco