From owner-freebsd-current@FreeBSD.ORG Mon Dec 3 01:12:49 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3F793438 for ; Mon, 3 Dec 2012 01:12:49 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by mx1.freebsd.org (Postfix) with ESMTP id BF4AF8FC17 for ; Mon, 3 Dec 2012 01:12:48 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id hm9so827017wib.13 for ; Sun, 02 Dec 2012 17:12:47 -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=96fK3zHMYOG6he18mh8bCJZGUKBN9Nv8CNCtMilMTEk=; b=IoZekY58+jSfSOBzdUB4rDx6W4MbfmsZ2aUTH4OtzP3e6bodeGhIn6JKZhR1HjqttW zCt07de66r5spn/j25J33iy9fD/r7fzXtbbZ6U3VTWgnjqzceVdP6418DYdVy7J8Wbul fLcZvrAP21cl4fH69xu8CAmt4Hzz7BTssacaDwPe5cytLF4j2Vn4MmF/dNsRvDu/TiCd k+WW2uQtjy7FrsTL4QcBdAiFGIZ6+xiWweqRdCWrtahBPy7tyk3tnbcH4bw2Bg2ONNFd ARNNnegcGaOTcGMqXd2QVN+ENqTJM2pRmwnxU9EcJ7w5BZbHXwF/6inTdxtdDtAJu5Cd Y+hg== Received: by 10.180.86.70 with SMTP id n6mr6955687wiz.4.1354497167241; Sun, 02 Dec 2012 17:12:47 -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 t17sm10313996wiv.6.2012.12.02.17.12.45 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 02 Dec 2012 17:12:45 -0800 (PST) Date: Mon, 3 Dec 2012 02:12:42 +0100 From: Mateusz Guzik To: Ian Lepore Subject: Re: New jail does not understand nullfs Message-ID: <20121203011242.GA21372@dft-labs.eu> References: <1354460979.69940.627.camel@revolution.hippie.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1354460979.69940.627.camel@revolution.hippie.lan> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Matt Donovan , current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 01:12:49 -0000 On Sun, Dec 02, 2012 at 08:09:39AM -0700, Ian Lepore wrote: > On Sun, 2012-12-02 at 01:17 -0600, Matt Donovan wrote: > > When attempting to start the jail in question the following happens > > > > > > server# jail -c poudriere > > jail: poudriere: unknown parameter: allow.mount.nullfs > > > > > > Below is my jail.conf > > > > poudriere { > > name=poudriere; > > host.hostname=poudriere; > > ip4.addr="192.168.1.30"; > > persist; > > children.max=10; > > allow.mount; > > mount.devfs; > > allow.mount.nullfs; > > allow.raw_sockets; > > allow.socket_af; > > allow.sysvipc; > > enforce_statfs=1; > > path=/newsystem/jail/poudriere; > > exec.stop="umount -a"; > > } > > > > Does the switch not work yet? As I am using CURRENT with the latest > > revision. > > > > That "mount.devfs" doesn't look right, should that have "allow." on the > front? I wonder if that's the problem and the error report is off by > one line or something? > mount.devfs means "mount devfs" :) However, it indeed may be some issue with config parsing, e.g. some mishandled whitespace. Matt, in general this should work just fine. What revision are you using to test? Can you attach this config instead of copy-pasting it? -- Mateusz Guzik