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

btm'status JOB' exists with 0 when the job is running and when it isn't. is there a way to tell from an exit code if a job is running with upstart (since starting now emits 1 if it is already running)?01:37
=== ev1 is now known as ev
=== Ng_ is now known as Ng
=== notting__ is now known as notting
dchen_is there a way to reset the upstart respawn counter?19:42
dchen_with inittab, the init q command does this19:42
Keybukdchen_: same19:52
dchen_Keybuk: init q didn't seem to do it21:13
dchen_I just waited for the timeout21:13
Keybukoh, no, it's running21:18
dchen_pardon?21:20
Keybukyou need to stop and start the job21:27
Keybuk(with the telinit in between)21:27
dchen_hrm21:29
dchen_so I tried21:29
dchen_initctl stop blah21:29
dchen_init q21:29
dchen_initctl start blah21:30
dchen_and it had an error message that it was restarting too fast or something21:30
sadmacKeybuk: you said ubuntu doesn't re-exec init on every glibc change, but instead does it just before unmounting the FS?21:31
asalkeldhi, has anyone tried to cross compile upstart 0.63 yet?21:33
sadmacasalkeld: yes. there's been some complaints about the dependency on libnih creating issues21:34
asalkeldIt has problems as nil-dbus-tool is build with the cross CC21:34
sadmacasalkeld: yep21:35
sadmacasalkeld: don't know that there's been a resolution sadly21:35
asalkelddoes nil-dbus-tool generate c files (only - no other function?)21:35
asalkeldif so , it would be good if these c files could be generated as part of the shipped tarball21:36
asalkeldso we would not have to compile nil-dbus-tool at all.21:37
sadmacasalkeld: interesting idea.21:37
asalkeldok, well thanks - I'll try find a solution myself21:37
sadmacasalkeld: technically the c files are not "source," but rather the xml they are generated from is21:38
asalkeldlike a configure file ...21:38
sadmactrue.21:38
asalkeldoften there is some prep that is done before distributing a release (changelog, autotools, etc...)21:39
asalkeldthis could be a part of this21:40
asalkeldunless there is some dbus version dependant code.21:40
Keybuksadmac: correct21:41
Keybukwing-commander scott% grep telinit /etc/init.d/umountroot21:41
Keybuk[ -f /var/run/init.upgraded ] && telinit u || :21:41
sadmacKeybuk: why re-exec at all? From a vm perspective I don't see what problems it causes.21:41
Keybuksadmac: if you've upgraded libc or init, you have a file open on the root filesystem that is "dirty"21:42
Keybukso you cannot remount readonly21:42
Keybukthe remount will fail21:42
Keybukand you'll power off a dirty root21:42
Keybukincur a mandatory fsck on reboot21:42
Keybuketc.21:42
sadmacdunno why its dirty21:42
sadmacdirty implies there's an alternate "clean" state21:42
Keybukyes21:43
sadmacthere's no laundering procedure for the pages in question21:43
sadmacthey should just be freed21:43
sadmacor rather become anonymous21:43
Keybukthey don't21:44
sadmackernel mis-step methinks (or posix mandating stupidity as is often the case)21:44
Keybuklike most stupidity, posix21:48
sadmacfantastic21:48
wasabiMy vbox init scripts work. Yay.21:57

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