/srv/irclogs.ubuntu.com/2013/09/05/#upstart.txt

tjaaltonwhen initctl list foo shows "foo stop/killed, process 12345" starting the daemon again just hangs14:19
tjaaltonany idea to fix that?14:19
tjaaltonwithout a reboot14:19
tjaaltonstop just says it's stopped already14:20
tjaaltonusing saucy btw14:22
tjaaltoni've had this happen a few times with sssd being the daemon, and when it happens shutdown hangs as well, need to force poweroff the machine14:23
tjaaltonso sounds like a bug in upstart14:23
tjaaltonanyone?14:28
stgrabertjaalton: hi14:32
stgrabertjaalton: so I'm assuming you're talking about sssd right? :)14:32
stgrabertjaalton: it gets into that state if the daemon fails (crashes) before it's done forking14:33
stgrabertjaalton: in such a case, upstart hasn't figure the final PID for the process and so is tracking the wrong PID14:33
tjaaltonstgraber: yep14:33
tjaaltonbut it can't clean up it's state?14:33
stgrabertjaalton: unfortunately in such case, only a reboot can fix upstart's state (unless xnox or jodh know of a way around)14:34
tjaaltonokay14:35
tjaaltonfairly easy to get in that state15:03
tjaaltonlike if there's a valid config that won't load because some other bits are missing15:04
stgrabertjaalton: it's probably best to run with -i then and drop the expect fork15:46
stgraberthat way upstart won't use ptrace, so it should be way more reliable and also slightly faster (saves an extra fork and saves the use of ptrace)15:47
tjaaltonstgraber: interesting, i'll give it a go15:48
tjaaltonstgraber: i didn't get it to work17:48

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