Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Apr 2016 08:55:42 -0600
From:      James Gritton <jamie@gritton.org>
To:        freebsd-jail@freebsd.org
Subject:   Re: [Bug 196152] jail_list is not reversed when stopping jails
Message-ID:  <1251bf6be16a7d23d4dc8264a99b2dc1@gritton.org>
In-Reply-To: <B272DDFE-88B5-4EBF-A00A-CFE7C04B8453@ellael.org>
References:  <bug-196152-9824@https.bugs.freebsd.org/bugzilla/> <bug-196152-9824-Ck6y5acxej@https.bugs.freebsd.org/bugzilla/> <B272DDFE-88B5-4EBF-A00A-CFE7C04B8453@ellael.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2016-04-29 13:09, Michael Grimm wrote:
> On 10.02.2016, at 17:14, bugzilla-noreply@freebsd.org wrote:
> 
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196152
>> 
>> --- 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
> 
> Hmm. Any chance to get that improvement MFC'd?

Sure, I'll push one through.

- Jamie



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1251bf6be16a7d23d4dc8264a99b2dc1>