[Bug 246005] Jail(1) -r <JID> does not run configured exec.poststop scripts as jail(1) -r <jail-name>
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Apr 29 17:49:42 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246005
Jamie Gritton <jamie at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|New |Open
CC| |jamie at FreeBSD.org
--- Comment #1 from Jamie Gritton <jamie at FreeBSD.org> ---
As backward compatibility feature, "-r" will remove jails specified by JID that
are not found in the configuration file.
I guess the problem lies in what is meant by "found in the configuration file."
When you run "jail -r 5" it will look for a jail called "5" in the
configuration file. When that's not found, it goes into back-compat mode and
just kills the jail.
It would make sense though, to look at the jail #5's name, and take a second
look in the config file.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list