summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2010-03-05 14:34:33 +0000
committernetchild <netchild@FreeBSD.org>2010-03-05 14:34:33 +0000
commit94e741a5e69d24673cb9820a57dd0397eb65f6ce (patch)
tree1fbb1fb2d59be8c17ff224e1899f7ee0b2e9d3f4 /share
parent859f5adfa03381fbfedb208ce5f1925debf4ca2a (diff)
downloadFreeBSD-src-94e741a5e69d24673cb9820a57dd0397eb65f6ce.zip
FreeBSD-src-94e741a5e69d24673cb9820a57dd0397eb65f6ce.tar.gz
Redirect stdin from /dev/null when starting a jail:
At least in RELENG_7 this fixes some start problems for some programs from the ports. It is also more correct, as a jail shall not expect input (interactivity) from the jail-host. Revert the current behavior of starting jails in the background and make it optional only for the start of jails (jail_parallell_start=YES in rc.conf): - The stop can not be done in the background, the system needs to wait until everything is stopped correctly before it can reboot or power down. - The start should not be done in parallel by default, this not only breaks POLA for people comming from RELENG_x, it may also break a dependency chain with other scripts in the jail-host, which need to do some stuff after the jails are up and running (e.g. hardlinking a mysql socket from one jail into another one). Discussed on: freebsd-jails@
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/rc.conf.57
1 files changed, 6 insertions, 1 deletions
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5
index 96f64d3..ec3f292 100644
--- a/share/man/man5/rc.conf.5
+++ b/share/man/man5/rc.conf.5
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 12, 2010
+.Dd March 05, 2010
.Dt RC.CONF 5
.Os
.Sh NAME
@@ -3497,6 +3497,11 @@ indicates that the highest frequency (less power savings) should be used.
If set to
.Dq Li NO ,
any configured jails will not be started.
+.It jail_parallel_start
+.Pq Vt bool
+If set to
+.Dq Li YES
+all configured jails will be started in the background (= in parallel).
.It Va jail_list
.Pq Vt str
A space separated list of names for jails.
OpenPOWER on IntegriCloud