[Bug 290217] "jail -r" sometimes results in jails stuck in dying

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 13 Oct 2025 22:24:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290217

--- Comment #2 from David 'equinox' Lamparter <equinox@diac24.net> ---
Huh. The "jls -d" call seems to also be relevant, and it seems to be very
timing sensitive.

via ssh (with stderr): 10.6% chance
on serial (with stderr): 0.3% chance
on serial (stderr to /dev/null): 19.8% chance

With this knowledge I tried 16 again - surprise, it's actually broken pretty
exactly the same.

However, I should say, my original problem didn't involve "jls" at all (I was
coming at this from a "can't umount jail's root" angle, wasn't even running
jls). It's possible there are multiple issues here, or it's a single that can
be triggered in various ways.

-- 
You are receiving this mail because:
You are the assignee for the bug.