/srv/irclogs.ubuntu.com/2010/03/06/#upstart.txt

Caesar# service autofs status00:18
Caesarautofs stop/killed, process 369000:18
Caesar# pgrep automount00:18
Caesar368700:18
CaesarI think Upstart is getting very confused :-(00:19
Caesar# service autofs stop00:19
Caesarstop: Job has already been stopped: autofs00:19
Caesarhttp://paste.ubuntu.com/389279/ has my Upstart job definition, which I'm trying to test00:20
Caesar(on Ubuntu 10.04)00:26
KeybukCaesar: bug #40639700:53
CaesarYarp00:56
Keybukprobably got confused following the pid chain and ended up with something that isn't actually autofs00:58
Keybuklike one of the fork parents00:58
CaesarYeah01:07
Caesar"expect fork" after a clean boot fixed it01:07
Keybuksweet01:12
Keybuksorry about that one01:12
KeybukI have a fix for it ;)01:12
Keybukbut it's a M one01:12
CaesarDoh01:12
CaesarIt's pretty bad how busted things get in this situation01:12
Caesarstart and stop just hang01:13
Keybukyeah01:16
Keybukit's because it's not supposed to be able to happen :p01:16
Caesarheh01:20
CaesarSo what's currently doing my head in is the timing between the legacy init scripts and the upstart jobs01:21
CaesarBecause a lot of the upstart jobs aren't runlevel dependent (maybe if I follow the dependency chain back I'll find that they are)01:22
Keybukthey're not supposed to be01:23
Keybukthere's a vague wishy-washy attempt to make runlevels go away :p01:23
Caesarheh01:23
Keybukbtw are you coming to the-woods-outside-Brussels?01:23
CaesarSadly not, as my wife is due on May 2401:24
CaesarAnd I'm transferring off Goobuntu after my paternity leave, so I won't have a justification for coming to future UDSes01:24
Keybukaww :-(  where are you transferring to?01:24
CaesarThe security team01:24
Keybukbefore you go, I'd really appreciate it if I could get a kind of "what Google would like from Upstart" mail01:25
Keybukwhat you've found difficult about it01:25
Keybukproblems you've had01:25
Keybukwhat you wish it did01:25
Keybukwhat you wish it did better01:25
Keybuketc.01:25
CaesarI can do that, particularly after we've deployed 10.0401:25
CaesarRight now I'm just having a hell of a time debugging the boot process. That's due to a combination of factors though01:25
Keybukyeah, as I think I've talked to you before, I want Upstart to keep an event log01:26
Keybukso after a boot you can get a log like01:27
Keybuk"the foo event happened, so I started apache, but I couldn't start squid yet because it was still waiting on apache"01:27
Keybuk"the started apache happened, so I started squid"01:27
CaesarThat sounds perfect01:27
Keybukand want that to be hooked up in a way that on a hung system, you can have upstart squirt it out to netconsole01:27
Keybuk"dump my brain"01:27
CaesarThe startup event is the root of everything isn't it?01:28
Keybukyes01:30
Keybukthough in later versions you may be able to do "on system starting" and "on system started"01:30
Keybukas two separate bits01:30
CaesarOkay, so startup -> mountall -> (local-filesystems) -> (run level 2) -> rc 201:31
CaesarMeanwhile, (local-filesystems) -> networking01:31
CaesarSo it sounds like the rc 2 legacy init scripts are going to run in parallel with the network coming up01:31
CaesarKeybuk: something my cubemate was just lamenting is how restart isn't "restart or start"01:49
KeybukCaesar: that's deliberate ;-)01:52
CaesarI thought as much01:52
CaesarIs there a "start or restart" equivalent?01:52
KeybukI really hate how "/etc/init.d/foo restart" can start a service that wasn't running to begin with01:52
Keybukstop foo ; start foo01:52
CaesarRight01:52
CaesarA bit more typing01:53
sadmacKeybuk: I thought there was a restart. moreover I thought it was slightly different than stop;start01:55
sadmacor was that for 1.001:55
Keybukthere is a restart01:55
Keybukand it is slightly different ;)01:55
KeybukCaesar had just asked whether there was an alternative to it that wasn't slightly different to stop;start ;)01:56
sadmacKeybuk: I'd think the preference would be restart foo || start foo02:17
Keybukthat'd work too ;)03:44
sadmacKeybuk: I have an ubuntu user who says he would like to "bitch slap ubuntu for making it look like a friggin mac" and would like me to direct him to your art department. Might you be of assistance?04:32
=== me_ is now known as alphainu
Keybuksadmac: if we want to be better than a Mac, first we have to catch up with them ;)05:37
alphainu~_~05:38
ionI *wish* Ubuntu looked like MacOSX (except for the even more blurry fonts and a dock that takes up a huge amount of screen real estate). :-P They have very stylish things going on, such as no left/bottom/right borders in windows, as the shadows are enough to differentiate a window of a certain color from another similar one. I love that.13:56
sadmacmuch as I liked making brown jokes in the past, I don't much care what ubuntu looks like in the end.16:32

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