From owner-freebsd-jail@FreeBSD.ORG Thu Nov 8 01:27:27 2012 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 786ADD05 for ; Thu, 8 Nov 2012 01:27:27 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id F2F898FC0A for ; Thu, 8 Nov 2012 01:27:26 +0000 (UTC) Received: by mail-wi0-f172.google.com with SMTP id hq12so4915754wib.13 for ; Wed, 07 Nov 2012 17:27:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=VIBoYFzII6VYxcB4tHkGOU2MCX3o9+CGA4Rw3YwDtPs=; b=RbUkUwywNYnUEimenwjSqXlov+Rr7/HwrO0uXFdyVQSDYJDc2KN6EBWYZvVGFOPTCy CSyM8pyiceaR2q+P3wxVAkIeXSB0+yzTAHFR8XawlkSkkwDCh9ueOBHxTlAp6dbykYmu O15coM1gVH4NogOVURrzoXWOGXrMsPHpmVP47jlHaxhzHvONMypEMckeiTmxVNi6MpgG LPUWcwn8CWq/P3XKJhCE7MTP+L6x5cGZWtSHaWpZq1GK3BYE9WlnHm4u0zT0yYsgDqoP eCmKxUoG74cPb7c1Ilng/bSKteUDdwvo7PZftsEQRcvBc5dBLCziDA2v6RPwJ0An89na cmsQ== Received: by 10.180.102.166 with SMTP id fp6mr10542994wib.9.1352338045653; Wed, 07 Nov 2012 17:27:25 -0800 (PST) Received: from dft-labs.eu (n1x0n-1-pt.tunnel.tserv5.lon1.ipv6.he.net. [2001:470:1f08:1f7::2]) by mx.google.com with ESMTPS id dm3sm6090011wib.3.2012.11.07.17.27.24 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 07 Nov 2012 17:27:24 -0800 (PST) Date: Thu, 8 Nov 2012 02:27:22 +0100 From: Mateusz Guzik To: Mike Jakubik Subject: Re: jail: unknown parameter: ip6.addr Message-ID: <20121108012722.GA18649@dft-labs.eu> References: <1352320766.1820.9.camel@mjakubik.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1352320766.1820.9.camel@mjakubik.localdomain> User-Agent: Mutt/1.5.20 (2009-06-14) 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: Thu, 08 Nov 2012 01:27:27 -0000 On Wed, Nov 07, 2012 at 03:39:26PM -0500, Mike Jakubik wrote: > Hello, > > I just updated a server to latest stable and my jails no longer start, > troubleshooting the startup script shows us that the parameter ip6.addr > is unknown, this system is compiled without INET6. [..] > + tail +2 /tmp/jail.PJ5ji3QH/jail.8101 > jail: unknown parameter: ip6.addr Try this (lightly tested): http://people.freebsd.org/~mjg/patches/rc-jail-ip-arg.diff Basically the idea is to pass ip4.addr and ip6.addr only when respective addresses are specified in configuration. -- Mateusz Guzik