From owner-freebsd-jail@FreeBSD.ORG Mon Jan 4 11:07:00 2010 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A43CE1065676 for ; Mon, 4 Jan 2010 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 932558FC26 for ; Mon, 4 Jan 2010 11:07:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o04B70He064940 for ; Mon, 4 Jan 2010 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o04B6xss064938 for freebsd-jail@FreeBSD.org; Mon, 4 Jan 2010 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 4 Jan 2010 11:07:00 GMT Message-Id: <201001041107.o04B6xss064938@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-jail@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-jail@FreeBSD.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2010 11:07:00 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/141317 jail [patch] uncorrect jail stop in /etc/rc.d/jail o kern/133265 jail [jail] is there a solution how to run nfs client in ja o kern/119842 jail [smbfs] [jail] "Bad address" with smbfs inside a jail o bin/99566 jail [jail] [patch] fstat(1) according to specified jid o bin/32828 jail [jail] w(1) incorrectly handles stale utmp slots with 5 problems total. From owner-freebsd-jail@FreeBSD.ORG Tue Jan 5 10:24:56 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 457611065676; Tue, 5 Jan 2010 10:24:56 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id F38218FC17; Tue, 5 Jan 2010 10:24:55 +0000 (UTC) Received: from outgoing.leidinger.net (pD9E2C659.dip.t-dialin.net [217.226.198.89]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 8F7B9A9EA; Tue, 5 Jan 2010 11:24:51 +0100 (CET) Received: from unknown (unknown [192.168.2.110]) by outgoing.leidinger.net (Postfix) with ESMTP id 319B0123789; Tue, 5 Jan 2010 11:24:48 +0100 (CET) Date: Tue, 5 Jan 2010 11:24:47 +0100 From: Alexander Leidinger To: remko@freebsd.org Message-ID: <20100105112447.00005e71@unknown> In-Reply-To: <20091207080353.66241t4vpmnmrilc@webmail.leidinger.net> References: <20091207080353.66241t4vpmnmrilc@webmail.leidinger.net> X-Mailer: Claws Mail 3.7.2cvs15 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 8F7B9A9EA.EDC6B X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.44, required 6, autolearn=disabled, ALL_TRUSTED -1.44) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1263291891.8258@qbSNROxPjvCdMTcqhN/2UQ X-EBL-Spam-Status: No Cc: jail@freebsd.org Subject: Re: starting jails in the background & dependencies X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 10:24:56 -0000 On Mon, 07 Dec 2009 08:03:53 +0100 Alexander Leidinger wrote: > Hi, > > now that jails are started in the background (which is good, to I just realized yesterday that it also stops in parallel (in the background). This is bad. It may be the case that a jail is not fully stopped via the rc scripts when the OS decides to kill the remaining processes during a shutdown. My first reaction is to only allow to start in the background, but everything else needs to be serialized. Any objections or better ideas out there? Bye, Alexander. From owner-freebsd-jail@FreeBSD.ORG Tue Jan 5 10:45:39 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EF08106568F for ; Tue, 5 Jan 2010 10:45:39 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 22E628FC15 for ; Tue, 5 Jan 2010 10:45:39 +0000 (UTC) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id D417F19E045; Tue, 5 Jan 2010 11:45:37 +0100 (CET) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 5FBCF19E044; Tue, 5 Jan 2010 11:45:35 +0100 (CET) Message-ID: <4B43184E.1010106@quip.cz> Date: Tue, 05 Jan 2010 11:45:34 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.6) Gecko/20091206 SeaMonkey/2.0.1 MIME-Version: 1.0 To: Alexander Leidinger References: <20091207080353.66241t4vpmnmrilc@webmail.leidinger.net> <20100105112447.00005e71@unknown> In-Reply-To: <20100105112447.00005e71@unknown> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: jail@freebsd.org, remko@freebsd.org Subject: Re: starting jails in the background & dependencies X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 10:45:39 -0000 Alexander Leidinger wrote: > On Mon, 07 Dec 2009 08:03:53 +0100 Alexander Leidinger > wrote: > >> Hi, >> >> now that jails are started in the background (which is good, to > > I just realized yesterday that it also stops in parallel (in the > background). This is bad. It may be the case that a jail is not fully > stopped via the rc scripts when the OS decides to kill the remaining > processes during a shutdown. > > My first reaction is to only allow to start in the background, but > everything else needs to be serialized. > > Any objections or better ideas out there? Maybe stopping can be done in parallel, but rc script should wait (in loop) until all jails are stopped or some configurable timeout (for example 60 seconds). Miroslav Lachman From owner-freebsd-jail@FreeBSD.ORG Tue Jan 5 10:53:14 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAA091065670; Tue, 5 Jan 2010 10:53:14 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from mailgate.jr-hosting.nl (mailgate.jr-hosting.nl [78.46.126.30]) by mx1.freebsd.org (Postfix) with ESMTP id A7E9C8FC16; Tue, 5 Jan 2010 10:53:14 +0000 (UTC) Received: from websrv01.jr-hosting.nl (websrv01 [78.47.69.233]) by mailgate.jr-hosting.nl (Postfix) with ESMTP id B2B4E1CC38; Tue, 5 Jan 2010 11:35:48 +0100 (CET) Received: from www by websrv01.jr-hosting.nl with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1NS6lQ-000KGF-Mg; Tue, 05 Jan 2010 11:35:48 +0100 Received: from 192.58.226.100 (SquirrelMail authenticated user remko) by www.jr-hosting.nl with HTTP; Tue, 5 Jan 2010 11:35:48 +0100 Message-ID: <0f8c4a9c3740e2185582ef1c922835b3.squirrel@www.jr-hosting.nl> In-Reply-To: <20100105112447.00005e71@unknown> References: <20091207080353.66241t4vpmnmrilc@webmail.leidinger.net> <20100105112447.00005e71@unknown> Date: Tue, 5 Jan 2010 11:35:48 +0100 From: "Remko Lodder" To: "Alexander Leidinger" User-Agent: SquirrelMail/1.4.19 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: jail@freebsd.org, remko@freebsd.org, simon@FreeBSd.org Subject: Re: starting jails in the background & dependencies X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 10:53:15 -0000 On Tue, January 5, 2010 11:24 am, Alexander Leidinger wrote: > On Mon, 07 Dec 2009 08:03:53 +0100 Alexander Leidinger > wrote: > >> Hi, >> >> now that jails are started in the background (which is good, to > > I just realized yesterday that it also stops in parallel (in the > background). This is bad. It may be the case that a jail is not fully > stopped via the rc scripts when the OS decides to kill the remaining > processes during a shutdown. > > My first reaction is to only allow to start in the background, but > everything else needs to be serialized. > > Any objections or better ideas out there? > > Bye, > Alexander. > I think the best way at this moment is to revert the change ( I can do that , or someone else, I dont mind ) and think of a better concept. Simon also mentioned that he didn't like the current way of doing things, so I kept it in, for possible suggestions. Reverting the change would mean that the old behaviour at least works and is with what people are used to. We can then further improve it where needed. Cheerio, Remko -- /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | remko@EFnet X http://www.evilcoder.org/ | / \ ASCII Ribbon Campaign | Against HTML Mail and News From owner-freebsd-jail@FreeBSD.ORG Tue Jan 5 11:19:05 2010 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E969A106568F for ; Tue, 5 Jan 2010 11:19:05 +0000 (UTC) (envelope-from scheidell@secnap.net) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [204.89.241.253]) by mx1.freebsd.org (Postfix) with ESMTP id AA1D08FC08 for ; Tue, 5 Jan 2010 11:19:05 +0000 (UTC) Received: from localhost (mx1.secnap.com.ionspam.net [204.89.241.253]) by mx1.secnap.com.ionspam.net (Postfix) with ESMTP id A4AC32B7C91 for ; Tue, 5 Jan 2010 06:19:04 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secnap.net; h= content-transfer-encoding:content-type:content-type:in-reply-to :references:subject:subject:mime-version:user-agent:from:from :date:date:message-id; s=dkim; t=1262690343; x=1264504743; bh=vc TjmTwuwEJv+caxL1f6AKJxSGK7FTH0CIwVylzvTUw=; b=QoR8DkMKey7vD+N/LJ yonq/JTog9rvperTb6gugHCBLdy6eXhw3WBNioBXYld0VS2mK3nurlUxNDzcKuai M8BeO/AfIrDelQ1aY8wBS9pDeclzAlllGMOBZEgO5d1bSTLxCejcCtY9KiO0KmGZ PTDfyJdWO4GI+iIJHvxWCtDKk= X-Amavis-Modified: Mail body modified (using disclaimer) - mx1.secnap.com.ionspam.net X-Virus-Scanned: SpammerTrap(r) VPS-1500 2.10 at mx1.secnap.com.ionspam.net Received: from secnap3.secnap.com (secnap3.secnap.com [204.89.241.130]) by mx1.secnap.com.ionspam.net (Postfix) with ESMTP id CA45F2B7C79 for ; Tue, 5 Jan 2010 06:19:03 -0500 (EST) Received: from 118.sub-75-203-71.myvzw.com ([10.80.0.4]) by secnap3.secnap.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Tue, 5 Jan 2010 06:19:03 -0500 Message-ID: <4B432024.2040001@secnap.net> Date: Tue, 05 Jan 2010 06:19:00 -0500 From: Michael Scheidell User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-jail@freebsd.org References: <20091207080353.66241t4vpmnmrilc@webmail.leidinger.net> <20100105112447.00005e71@unknown> <0f8c4a9c3740e2185582ef1c922835b3.squirrel@www.jr-hosting.nl> In-Reply-To: <0f8c4a9c3740e2185582ef1c922835b3.squirrel@www.jr-hosting.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 05 Jan 2010 11:19:03.0572 (UTC) FILETIME=[E324B540:01CA8DF8] Subject: Re: starting jails in the background & dependencies X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 11:19:06 -0000 On 1/5/10 5:35 AM, Remko Lodder wrote: > > >> >> My first reaction is to only allow to start in the background, but >> everything else needs to be serialized. >> >> i second that 'start in parallel', stop in serial, however, even with stop in serial, if I have 64 jails, even in a fast, quad/quad core system, I find that I stop jails prior to reboot/shutdown. even at that, for some reason, mysql doesn't always stop. in reboot, it does take a LONG time for them to all come up. -- Michael Scheidell, CTO Phone: 561-999-5000, x 1259 > *| *SECNAP Network Security Corporation * Certified SNORT Integrator * 2008-9 Hot Company Award Winner, World Executive Alliance * Five-Star Partner Program 2009, VARBusiness * Best Anti-Spam Product 2008, Network Products Guide * King of Spam Filters, SC Magazine 2008 _________________________________________________________________________ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.spammertrap.com _________________________________________________________________________ From owner-freebsd-jail@FreeBSD.ORG Tue Jan 5 16:45:59 2010 Return-Path: Delivered-To: freebsd-jail@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C9FF106568F; Tue, 5 Jan 2010 16:45:59 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 13B378FC12; Tue, 5 Jan 2010 16:45:59 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o05GjwNI070004; Tue, 5 Jan 2010 16:45:58 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o05Gjwf9070000; Tue, 5 Jan 2010 16:45:58 GMT (envelope-from linimon) Date: Tue, 5 Jan 2010 16:45:58 GMT Message-Id: <201001051645.o05Gjwf9070000@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-jail@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/142341: [jail] Jail escape when cwd is moved from the host system X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 16:45:59 -0000 Old Synopsis: Jail escape when cwd is moved from the host system New Synopsis: [jail] Jail escape when cwd is moved from the host system Responsible-Changed-From-To: freebsd-bugs->freebsd-jail Responsible-Changed-By: linimon Responsible-Changed-When: Tue Jan 5 16:44:47 UTC 2010 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=142341 From owner-freebsd-jail@FreeBSD.ORG Tue Jan 5 19:50:02 2010 Return-Path: Delivered-To: freebsd-jail@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C527E1065679 for ; Tue, 5 Jan 2010 19:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9931C8FC19 for ; Tue, 5 Jan 2010 19:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o05Jo21X034395 for ; Tue, 5 Jan 2010 19:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o05Jo2Dq034394; Tue, 5 Jan 2010 19:50:02 GMT (envelope-from gnats) Date: Tue, 5 Jan 2010 19:50:02 GMT Message-Id: <201001051950.o05Jo2Dq034394@freefall.freebsd.org> To: freebsd-jail@FreeBSD.org From: "Bjoern A. Zeeb" Cc: Subject: Re: kern/142341: [jail] Jail escape when cwd is moved from the host system X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Bjoern A. Zeeb" List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 19:50:02 -0000 The following reply was made to PR kern/142341; it has been noted by GNATS. From: "Bjoern A. Zeeb" To: bug-followup@FreeBSD.org, vedad@kajtaz.net Cc: Subject: Re: kern/142341: [jail] Jail escape when cwd is moved from the host system Date: Tue, 5 Jan 2010 19:36:36 +0000 (UTC) Hi, this is the expected behaviour but is probably not explicitly documented. Patches to update the man page are welcome. -- Bjoern A. Zeeb It will not break if you know what you are doing. From owner-freebsd-jail@FreeBSD.ORG Tue Jan 5 20:53:20 2010 Return-Path: Delivered-To: freebsd-jail@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 566A61065670; Tue, 5 Jan 2010 20:53:20 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2D4908FC1C; Tue, 5 Jan 2010 20:53:20 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o05KrK4E095328; Tue, 5 Jan 2010 20:53:20 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o05KrJFW095324; Tue, 5 Jan 2010 20:53:19 GMT (envelope-from linimon) Date: Tue, 5 Jan 2010 20:53:19 GMT Message-Id: <201001052053.o05KrJFW095324@freefall.freebsd.org> To: vedad@kajtaz.net, linimon@FreeBSD.org, freebsd-jail@FreeBSD.org, freebsd-doc@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: docs/142341: jail(8): Jail escape when cwd is moved from the host system X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 20:53:20 -0000 Old Synopsis: [jail] Jail escape when cwd is moved from the host system New Synopsis: jail(8): Jail escape when cwd is moved from the host system State-Changed-From-To: open->analyzed State-Changed-By: linimon State-Changed-When: Tue Jan 5 20:52:25 UTC 2010 State-Changed-Why: Apparently this is the expected behavior and just needs to be documented. Responsible-Changed-From-To: freebsd-jail->freebsd-doc Responsible-Changed-By: linimon Responsible-Changed-When: Tue Jan 5 20:52:25 UTC 2010 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=142341