-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rebooting permanently stalls if finit shows [WARN] for an app when attempting to kill #227
Comments
Just to show this is not a fluke, for some reason dbus had the [WARN] status and the same situation happened:
It will halt at this condition forever. |
Interesting, I'll have a look at this in detail and try to set up a testcase for it. We just had a PR for shutdown/kill so there might be a regression. Just to make sure, which version of Finit are you running; the latest release, or a GIT version? (The PR I mentioned above is not released yet.) |
Progress: so far I've only been able to reproduce the [WARN], but for me the system reboots fine. I'm starting to suspect it's not the stopping of services that's at fault, but rather something else. Could you try calling
|
Oh that's great, sorry I didn't get a debug log earlier, we are doing some system porting and I had to switch (temporarily) to another project. I'm really glad to were able to find the cause of this, we are on an embedded platform, so having it not behave as expected when shutting down was quite challenging. This was a little bit inconsistent for me to replicate, but I'll try the latest version. Thanks for the fix! |
Yeah, I'm mostly on embedded systems as well, and reboot must always work. Hope it works better also for you :) |
Reopening, I just ran into this one myself trying to reboot and found the following:
After which everything just hung forever. The interesting bit is the AnalysisFor my use-case |
When rebooting, if a service has a "[WARN]" status the reboot never completes.
I was testing killing an app using
kill <pid>
and having finit to restart the app. finit doesn't seem to pick up the correct pid when this happens see bug #226When this situation happens, I guess that finit gets "out of sync", so when doing:
finit 6
to reboot, it stalls on the above app:By stall, I mean it sits forever on the [WARN] line.
In normal cases finit 6 works totally fine as long as it can kill this app, but any "[WARN]" line seems to halt the rebooting process permanently (no matter how long I wait).
The text was updated successfully, but these errors were encountered: