From owner-cvs-src-old@FreeBSD.ORG Fri Mar 5 14:38:20 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A20D106566B for ; Fri, 5 Mar 2010 14:38:20 +0000 (UTC) (envelope-from netchild@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EABE78FC1E for ; Fri, 5 Mar 2010 14:38:19 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o25EcJL5092476 for ; Fri, 5 Mar 2010 14:38:19 GMT (envelope-from netchild@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o25EcJoN092475 for cvs-src-old@freebsd.org; Fri, 5 Mar 2010 14:38:19 GMT (envelope-from netchild@repoman.freebsd.org) Message-Id: <201003051438.o25EcJoN092475@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to netchild@repoman.freebsd.org using -f From: Alexander Leidinger Date: Fri, 5 Mar 2010 14:34:33 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/etc/defaults rc.conf src/etc/rc.d jail src/share/man/man5 rc.conf.5 X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2010 14:38:20 -0000 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