Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2020 17:49:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 246005] Jail(1) -r <JID> does not run configured exec.poststop scripts as jail(1) -r <jail-name>
Message-ID:  <bug-246005-227-KtEkFREEVw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-246005-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-246005-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246005

Jamie Gritton <jamie@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
                 CC|                            |jamie@FreeBSD.org

--- Comment #1 from Jamie Gritton <jamie@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.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246005-227-KtEkFREEVw>