[Bug 196152] jail_list is not reversed when stopping jails
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Feb 10 16:14:32 UTC 2016
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
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D5233
Changes:
head/etc/defaults/rc.conf
head/etc/rc.d/jail
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-jail
mailing list