From owner-freebsd-stable@FreeBSD.ORG Wed Feb 19 09:14:17 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B3233FDE for ; Wed, 19 Feb 2014 09:14:17 +0000 (UTC) Received: from mail.r61.net (mail.r61.net [195.208.245.238]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 69DFA1D36 for ; Wed, 19 Feb 2014 09:14:16 +0000 (UTC) Received: from pyhalov.cc.rsu.ru (pyhalov.cc.rsu.ru [195.208.255.102]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: alp@sfedu.ru) by mail.r61.net (MTA) with ESMTPSA id C8EB8A61468; Wed, 19 Feb 2014 13:14:13 +0400 (MSK) Message-ID: <530475E5.3010203@rsu.ru> Date: Wed, 19 Feb 2014 13:14:13 +0400 From: Alexander Pyhalov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130112 Thunderbird/17.0.2 MIME-Version: 1.0 To: ezjail@erdgeist.org, freebsd-stable@freebsd.org Subject: ezjail and zfs in FreeBSD>=9.1 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.3.9 (mail.r61.net [0.0.0.0]); Wed, 19 Feb 2014 13:14:13 +0400 (MSK) X-Spam-Status: No, score=-100.0 required=5.0 tests=UNPARSEABLE_RELAY, USER_IN_WHITELIST autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.r61.net X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Feb 2014 09:14:17 -0000 Hello. It seems that ezjail 3.3 doesn't set allow.mount allow.mount.zfs when delegates zfs fs to a jail. Changing # Attach ZFS-datasets to the jail for zfs in ${ezjail_zfs_datasets}; do /sbin/zfs jail ${ezjail_id} ${zfs} || echo -n "Error: ${zfs} could not be configured" done to # Attach ZFS-datasets to the jail [ -z "${ezjail_zfs_datasets}" ] || /usr/sbin/jail -m jid=${ezjail_id} allow.mount allow.mount.zfs for zfs in ${ezjail_zfs_datasets}; do /sbin/zfs jail ${ezjail_id} ${zfs} || echo -n "Error: ${zfs} could not be configured" done in /usr/local/etc/rc.d/ezjail solves the issue for me. -- Best regards, Alexander Pyhalov, system administrator of Computer Center of Southern Federal University