From owner-freebsd-stable@FreeBSD.ORG Thu Aug 8 11:53:35 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 19B1D5FD for ; Thu, 8 Aug 2013 11:53:35 +0000 (UTC) (envelope-from gkontos.mail@gmail.com) Received: from mail-pb0-x235.google.com (mail-pb0-x235.google.com [IPv6:2607:f8b0:400e:c01::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E90D92B8E for ; Thu, 8 Aug 2013 11:53:34 +0000 (UTC) Received: by mail-pb0-f53.google.com with SMTP id up15so3050497pbc.40 for ; Thu, 08 Aug 2013 04:53:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=jkm7z4mwZxMooMmVM1vgsUD9/4yxjCm1hEI/yMUIv84=; b=pkYBUdkgPOFakgiabCG1hQcl1+ngKhoxWCs6tUPpaTV6+RfFrHRkAMMXRF5PVxRuYQ Gh5326lqePn2an9rXC2p78kAyl0sGRZ+Csl16hGb6l1vkBs3BuYtp1zbgj1mmJ3vvOEY S9Lj33eIDXocYrWnFv1cx685219f1uM/mTnnTCPQwRQzPAT6UT8Nf7ZdHG3OVa9LT427 DHSPIARtrb88+3q1Gyzd8V3O9BjnogAT0/08cGcOESWfCZ1CnkEIR3d3nAqQ4tyh3GNW zkumOS5n97UVXyuBNu/Unk4bKn4Ehx8YYHPexvpwF5DZM84XUCBt862OGIHm/5MXf1+J /ykg== MIME-Version: 1.0 X-Received: by 10.66.144.104 with SMTP id sl8mr5833434pab.9.1375962814265; Thu, 08 Aug 2013 04:53:34 -0700 (PDT) Received: by 10.68.211.106 with HTTP; Thu, 8 Aug 2013 04:53:34 -0700 (PDT) In-Reply-To: References: Date: Thu, 8 Aug 2013 14:53:34 +0300 Message-ID: Subject: Re: ZFS in jails 9.2-RC1 permission denied From: George Kontostanos To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Aug 2013 11:53:35 -0000 On Wed, Aug 7, 2013 at 7:26 PM, George Kontostanos wrote: > Hi list, > > With a 9.1 system and the following: > > /etc/sysctl.conf: > > security.jail.mount_allowed=1 > security.jail.mount_zfs_allowed=1 > security.jail.enforce_statfs=1 > > zfs set jailed=on Pool > zfs jail 1 Pool > > jexec 1 tcsh > > jail1# zfs create Pool/test1 > jail1# zfs list > > NAME USED AVAIL REFER MOUNTPOINT > Pool 223K 19.6G 31K /Pool > Pool/test1 31K 19.6G 31K /Pool/test > > After upgrading to 9.2-RC1 the same operation results in: > > jail1# zfs create Pool/test2 > > cannot create 'Pool/test2': permission denied > > What am I missing? > > Thanks > > > -- > George Kontostanos > --- > > Anybody?