[Bug 196152] jail_list is not reversed when stopping jails
Michael Grimm
trashcan at ellael.org
Fri Apr 29 19:09:44 UTC 2016
On 10.02.2016, at 17:14, bugzilla-noreply at freebsd.org wrote:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196152
>
> --- Comment #9 from commit-hook at freebsd.org ---
> A commit references this bug:
>
> Author: feld
> Date: Wed Feb 10 16:13:59 UTC 2016
^^^^^^^
> New revision: 295471
> URL: https://svnweb.freebsd.org/changeset/base/295471
>
> Log:
> Add new rc.conf parameter "jail_reverse_stop"
>
> When a user defines "jail_list" in rc.conf the jails are started in the
> order defined. Currently the jails are not are stopped in reverse order
> which may break dependencies between jails/services and prevent a clean
> shutdown. The new parameter "jail_reverse_stop" will shutdown jails in
> "jail_list" in reverse order when set to "YES".
>
> Please note that this does not affect manual invocation of the jail rc
> script. If a user runs the command
>
> # service jail stop jail1 jail2 jail3
>
> the jails will be stopped in exactly the order specified regardless of
> jail_reverse_stop being defined in rc.conf.
>
> PR: 196152
> Approved by: jamie
> MFC after: 1 week
Hmm. Any chance to get that improvement MFC'd?
> Relnotes: yes
> Differential Revision: https://reviews.freebsd.org/D5233
>
> Changes:
> head/etc/defaults/rc.conf
> head/etc/rc.d/jail
Regards,
Michael
More information about the freebsd-jail
mailing list