Date: Wed, 10 Feb 2016 16:14:31 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-jail@FreeBSD.org Subject: [Bug 196152] jail_list is not reversed when stopping jails Message-ID: <bug-196152-9824-Ck6y5acxej@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-196152-9824@https.bugs.freebsd.org/bugzilla/> References: <bug-196152-9824@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196152 --- Comment #9 from commit-hook@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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196152-9824-Ck6y5acxej>