/srv/irclogs.ubuntu.com/2009/11/24/#upstart.txt

trehncan upstart reload service B for me whenever service A is restarted?11:57
Keybuknot yet12:41
=== robbiew_ is now known as robbiew
Keybukugh15:40
KeybukI hate it when people find bugs that mean I have to spend hours writing 200+ test cases15:40
sadmacKeybuk: which one this time?15:41
Keybuksending a message to a disconnected d-bus connection results in an assertion error ;)15:41
Keybukit doesn't actually affect upstart15:41
Keybukjust mountall15:41
Keybukbut it's in the most heavily tested bits of the code15:41
Keybukso there's a _lot_ of coverage15:41
Keybukand a test like "sending to a disconnected connection" deserves appearing in each of the coverage cases15:42
Keybuk*paste* modify *paste* modify *paste* modify *argh!*15:42
sadmacKeybuk: join with me in the brave new world of software proving.15:42
Keybuksadmac: "if it builds, ship it" ?15:42
sadmacKeybuk: that's a start...15:42
sadmacKeybuk: ultimately we want "if it builds under the most evil compiler ever spat out of hell, ship it."15:43
sadmaccompilers that find logic bugs for you. together we can make a difference.15:45
Keybukllvm? :p15:49
sadmacanother good move15:49
Keybukgnargh16:18
Keybukarsing valgrind fuck hate bastard grr16:18
sadmacNew release name!16:20
sadmacUpstart 1.1 "fuck hate bastard"16:20
Keybuklol16:21
* Keybuk tries to figure out what the hell he did with these tags and branches17:02
sadmachow bzr17:04
ionMeanwhile, i configured automatic failover to 3G if my ADSL is down. \o/17:15
Keybukoh, but of course17:52
Keybukthe valgrind errors are coming from the very last function in the file17:52
sadmacKeybuk: the one you wrote when you are most tired no doubt17:55
Keybukmost rushed I think17:56
Keybukargh18:16
Keybuk*one* missing free()18:16
Keybukthat's all it was18:16
ion:-)18:44
nottingKeybuk: unless i'm reading it wrong, 0.6 contains compat code to talk to sysvinit after upgrade,but not to 0.3.x?19:04
Keybukright20:42
notting<obvious> why? </obvious>20:43
Keybukbecause it's reasonably safe to just re-exec 0.3 to 0.6 ?20:43
Keybukthe runlevel implementation between sysvinit and upstart isn't sufficiently compatible to make that transition safe20:43
sadmacKeybuk: but re-execing upstart just drops everything on the floor20:45
Keybukwhere "everything" is not much in 0.3 ;)20:45
Keybukat least in Ubuntu20:45
KeybukPatches are, as always, Welcome :p20:45
Keybukif you need some 0.3 compat code in there, please do add and I'll certainly accept :p20:46
KeybukI'm just lazy20:46
sadmacKeybuk: yeah, been meaning to write that state transfer thing. My point though was if 0.6 just ignores what 0.3 is doing and 0.3 is doing more or less what sysv is doing why can't it ignore what sysv is doing?20:46
Keybukit's still there for Debian20:47
Keybukbecause they asked to keep it for now20:47
sadmacthey like pain.20:47
nottingalso, sysvinit is stupid and simple to code.20:48
sadmacfirst requirements for fedora's new init system: 1) We must only ever ship 1 init system. 2) We must switch one and only one time.20:48
sadmac2 kinda fell apart, since Upstart is the switch that keeps on switching, but hey. :)20:49
sadmacI guess 1 might fail too since I think somebody's still got initng packaged (at least I keep finding fedora users that use it.)20:50
KeybukI thought you were NIHing your own?20:50
* Keybuk read that on LWN somewhere :p20:50
sadmacKeybuk: we were going to nih prcsys (which reeeely needed to be NIHd since its one of the silliest little pieces of code ever written.)20:51
sadmacKeybuk: but prcsys turned out to be as bad of an idea as it was an implementation20:51
Keybukah20:52
KeybukI heard it was going to be called PulseInit20:52
sadmacKeybuk: ...that sounds familiar, but it wasn't what I was writing20:53
Keybukmaybe that was Lennart ;)20:53
sadmacKeybuk: mine was rrn. AFAICT the only public announcement of it ever was at Fudcon, about 2 hours before the meeting where we decided to switch to upstart.20:53
Keybuklol20:53
sadmacKeybuk: would have dumped the code on the internet ages ago, but nobody wants it and... the last bit I was working on is a bit sketchy. It was some circular dependency detection logic, and despite consiting of about 40 lines of code and 2 additional elements in a struct, I still can't figure out how I'd meant it to work (which it doesn't)20:55
sadmacso it was a closed-casket funeral20:55
=== notting_ is now known as notting
=== robbiew is now known as robbiew_

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