Date: Sat, 20 Dec 2014 07:29:39 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 196152] New: jail_list is not reversed when stopping jails Message-ID: <bug-196152-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: matt@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196152-8>