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: [email protected]
Reporter: [email protected]
# 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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"