Date: Fri, 5 Mar 2010 14:34:33 +0000 (UTC) From: Alexander Leidinger <netchild@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/etc/defaults rc.conf src/etc/rc.d jail src/share/man/man5 rc.conf.5 Message-ID: <201003051438.o25EcJoN092475@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
netchild 2010-03-05 14:34:33 UTC FreeBSD src repository Modified files: etc/defaults rc.conf etc/rc.d jail share/man/man5 rc.conf.5 Log: SVN rev 204759 on 2010-03-05 14:34:33Z by netchild 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@ Revision Changes Path 1.371 +1 -0 src/etc/defaults/rc.conf 1.45 +18 -2 src/etc/rc.d/jail 1.372 +6 -1 src/share/man/man5/rc.conf.5
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003051438.o25EcJoN092475>