Open igalic opened 5 years ago
Agree, this would ease thing a bit.
@igalic to reproduce your case, the jail must have failed being stopped manually (without force). This means that the JID has been already removed, but the poststop task did not succeed.
I wonder if it would make sense to always force stop and remove the option to stop without that behavior. libioc without a daemon is stateless and we should never have jails in zombie state.
If that becomes the only way to stop, the problem raised in this Issue, would also disappear. What do you say?
either that, or we could make stop
without -f
block until it's done
of course that could hang "forever" so it would be nice if it was cancellable
now let's call
stop -f
, thedestroy -f
again:works. imo,
destroy -f
should work the same.