[Bug 196152] New: jail_list is not reversed when stopping jails
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Dec 20 07:29:39 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196152
Bug ID: 196152
Summary: jail_list is not reversed when stopping jails
Product: Base System
Version: 10.1-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: conf
Assignee: freebsd-bugs at FreeBSD.org
Reporter: matt at tnpi.net
# grep jail /etc/rc.conf
jail_enable="YES"
jail_list="dns mysql vhost0 clamav spamassassin mail webmail haproxy monitor"
# service jail stop
Stopping jails: dns mysql vhost0 clamav spamassassin mail webmail haproxy
monitor.
# service jail start
Starting jails: dns mysql vhost0 clamav spamassassin mail webmail haproxy
monitor.
Notice that the ordering of jails is such that when starting up DNS comes
online before web and mail servers. Web servers come up before haproxy. Makes
sense, right?
Notice that at shutdown time, the list is *not* reversed. So the later services
end up having their resources (DNS, DB, etc..) ripped out from under them,
causing them to take longer than necessary to shut down.
I can't think of a time when jail_list shouldn't be reversed during
shutdown/stop.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list