From owner-freebsd-jail@FreeBSD.ORG Mon May 13 11:06:47 2013 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0C738994 for ; Mon, 13 May 2013 11:06:47 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id F2D3B844 for ; Mon, 13 May 2013 11:06:46 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4DB6kuR075906 for ; Mon, 13 May 2013 11:06:46 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4DB6kcd075904 for freebsd-jail@FreeBSD.org; Mon, 13 May 2013 11:06:46 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 13 May 2013 11:06:46 GMT Message-Id: <201305131106.r4DB6kcd075904@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 Subject: Current problem reports assigned to freebsd-jail@FreeBSD.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 May 2013 11:06:47 -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 bin/178302 jail jail(8): unknown parameter: ip6.addr when kernel compi o kern/176112 jail [jail] [panic] kernel panic when starting jails o kern/176092 jail [jail] [panic] Starting a jail on my releng/9.1 kernel o kern/174902 jail [jail] jail should provide validator for jail names o kern/174436 jail [jail] Jails with numbers as names don't work o bin/173469 jail [jail] regression: security.jail.sysvipc_allowed=1 no o kern/169751 jail [jail] reading routing information does not work in ja o bin/167911 jail new jail(8) problem with removal, ifconfg -alias and k o kern/159918 jail [jail] inter-jail communication failure o kern/156111 jail [jail] procstat -b not supported in jail o misc/155765 jail [patch] `buildworld' does not honors WITHOUT_JAIL o conf/154246 jail [jail] [patch] Bad symlink created if devfs mount poin o conf/149050 jail [jail] rcorder ``nojail'' too coarse for Jail+VNET s conf/142972 jail [jail] [patch] Support JAILv2 and vnet in rc.d/jail 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 18 problems total. From owner-freebsd-jail@FreeBSD.ORG Mon May 13 19:13:19 2013 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 73D35C85 for ; Mon, 13 May 2013 19:13:19 +0000 (UTC) (envelope-from erdgeist@erdgeist.org) Received: from elektropost.org (elektropost.org [217.13.206.130]) by mx1.freebsd.org (Postfix) with ESMTP id C5E852F8 for ; Mon, 13 May 2013 19:13:18 +0000 (UTC) Received: (qmail 84950 invoked from network); 13 May 2013 19:06:35 -0000 Received: from elektropost.org (HELO elektropost.org) (erdgeist@erdgeist.org) by elektropost.org with CAMELLIA256-SHA encrypted SMTP; 13 May 2013 19:06:35 -0000 Message-ID: <519139BB.9070907@erdgeist.org> Date: Mon, 13 May 2013 21:06:35 +0200 From: Dirk Engling User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Jamie Gritton Subject: Re: jail(8) vs. rc.d/jail features - fstab, zfs, vnet References: <51670567.5070602@erdgeist.org> <51674E18.4070402@FreeBSD.org> <516A3F57.6000001@erdgeist.org> <516ACA12.708@FreeBSD.org> In-Reply-To: <516ACA12.708@FreeBSD.org> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-jail@FreeBSD.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 May 2013 19:13:19 -0000 On 14.04.13 17:24, Jamie Gritton wrote: > line, which is inelegant to say the least. What I need is a $jid to be > set even when it isn't specified in the config, which is a little > complicated but doable if I just get down to it. After stabbing around in the code for a while I found that parameter substitution happens so early that for non-jid bound jails this parameter will not be set until much later with the create_jail call and thus would need special handling in load_config. Code for substituting just the $jid variable would need to be duplicated from load_config and reapplied just in case the jid was not set. Still I agree, it's the much nicer approach, if it works. > Proceed away :-). The easy things like adding a zfs dataset parameter and the postcreate command can be found here: http://erdgeist.org/arts/software/jail/usr.sbin.jail-postcreate.patch http://erdgeist.org/arts/software/jail/usr.sbin.jail-zfsdataset.patch Regards, erdgeist From owner-freebsd-jail@FreeBSD.ORG Wed May 15 14:00:02 2013 Return-Path: Delivered-To: freebsd-jail@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id ADBB3B36 for ; Wed, 15 May 2013 14:00:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id A06AEFA5 for ; Wed, 15 May 2013 14:00:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4FE02Zp038927 for ; Wed, 15 May 2013 14:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4FE026F038926; Wed, 15 May 2013 14:00:02 GMT (envelope-from gnats) Date: Wed, 15 May 2013 14:00:02 GMT Message-Id: <201305151400.r4FE026F038926@freefall.freebsd.org> To: freebsd-jail@FreeBSD.org Cc: From: "joeb1" Subject: Re: kern/176112: [jail] [panic] kernel panic when starting jails X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: joeb1 List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 May 2013 14:00:02 -0000 The following reply was made to PR kern/176112; it has been noted by GNATS. From: "joeb1" To: , Cc: Subject: Re: kern/176112: [jail] [panic] kernel panic when starting jails Date: Wed, 15 May 2013 09:53:33 -0400 I have not debugged your dump. From your description I see you have the pf firewall altq traffic shaper compiled into the kernel with vimage. My current understanding is pf has been fixed to run on the host when vimage is compiled into the kernel. But altq has not been made vimage aware yet and there is no pr on this problem. I have tested trying to get pf to start in a vnet/vimage jail without success. Pf suffers from the rc.d nojail keyword problem. This command sequence is a work around. Jexec jailname service netif start Jexec jailname service routing start Jexec jailname service pf start And of course you have to do the reverse before stopping the said jail. My suggestion is to remove altq from being compiled into the kernel and don't use altq on a host that has vimage compiled into its kernel. From owner-freebsd-jail@FreeBSD.ORG Wed May 15 15:20:11 2013 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6145C2AA for ; Wed, 15 May 2013 15:20:11 +0000 (UTC) (envelope-from erdgeist@erdgeist.org) Received: from elektropost.org (elektropost.org [217.13.206.130]) by mx1.freebsd.org (Postfix) with ESMTP id 9D9666BE for ; Wed, 15 May 2013 15:20:10 +0000 (UTC) Received: (qmail 3474 invoked from network); 15 May 2013 15:20:08 -0000 Received: from elektropost.org (HELO elektropost.org) (erdgeist@erdgeist.org) by elektropost.org with CAMELLIA256-SHA encrypted SMTP; 15 May 2013 15:20:08 -0000 Message-ID: <5193A7A9.4000102@erdgeist.org> Date: Wed, 15 May 2013 11:20:09 -0400 From: Dirk Engling User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Jamie Gritton Subject: Re: jail(8) vs. rc.d/jail features - fstab, zfs, vnet References: <51670567.5070602@erdgeist.org> <51674E18.4070402@FreeBSD.org> <516A3F57.6000001@erdgeist.org> <516ACA12.708@FreeBSD.org> <519139BB.9070907@erdgeist.org> In-Reply-To: <519139BB.9070907@erdgeist.org> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-jail@FreeBSD.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 May 2013 15:20:11 -0000 On 13.05.13 15:06, Dirk Engling wrote: > The easy things like adding a zfs dataset parameter and the postcreate > command can be found here: > > http://erdgeist.org/arts/software/jail/usr.sbin.jail-postcreate.patch > http://erdgeist.org/arts/software/jail/usr.sbin.jail-zfsdataset.patch Forgot to attach the documentation http://erdgeist.org/arts/software/jail/usr.sbin.jail-man.patch erdgeist From owner-freebsd-jail@FreeBSD.ORG Wed May 15 17:20:01 2013 Return-Path: Delivered-To: freebsd-jail@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id F09A52E4 for ; Wed, 15 May 2013 17:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id C75DBE28 for ; Wed, 15 May 2013 17:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4FHK10L076585 for ; Wed, 15 May 2013 17:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4FHK1fG076584; Wed, 15 May 2013 17:20:01 GMT (envelope-from gnats) Date: Wed, 15 May 2013 17:20:01 GMT Message-Id: <201305151720.r4FHK1fG076584@freefall.freebsd.org> To: freebsd-jail@FreeBSD.org Cc: From: Moritz Wilhelmy Subject: Re: kern/176112: [jail] [panic] kernel panic when starting jails X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Moritz Wilhelmy List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 May 2013 17:20:02 -0000 The following reply was made to PR kern/176112; it has been noted by GNATS. From: Moritz Wilhelmy To: joeb1 Cc: bug-followup@FreeBSD.org Subject: Re: kern/176112: [jail] [panic] kernel panic when starting jails Date: Wed, 15 May 2013 19:18:46 +0200 Thanks. I don't actually use ALTQ at the moment, so just disabling it should do the trick for now.