From owner-freebsd-questions@freebsd.org Thu Jul 12 14:47:19 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D2ED11040C01 for ; Thu, 12 Jul 2018 14:47:18 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from mx32.harte-lyne.ca (mx32.harte-lyne.ca [216.185.71.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx32.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7AFD29526C for ; Thu, 12 Jul 2018 14:47:18 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from mx32.harte-lyne.ca (unknown [127.0.32.1]) by mx32.harte-lyne.ca (Postfix) with ESMTP id 99EABEA59 for ; Thu, 12 Jul 2018 10:47:17 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from mx32.harte-lyne.ca ([127.0.32.1]) by mx32.harte-lyne.ca (mx32.harte-lyne.ca [127.0.32.1]) (amavisd-new, port 10024) with ESMTP id NY1B6sKgbjvQ for ; Thu, 12 Jul 2018 10:47:01 -0400 (EDT) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx32.harte-lyne.ca (Postfix) with ESMTPSA id 0FBC0EA50 for ; Thu, 12 Jul 2018 10:47:01 -0400 (EDT) Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Thu, 12 Jul 2018 10:47:01 -0400 Message-ID: <817c767ec4571b432831b576bc36d651.squirrel@webmail.harte-lyne.ca> Date: Thu, 12 Jul 2018 10:47:01 -0400 Subject: ezjail install: tar cannot chdir to /usr/jails/fulljail From: "James B. Byrne" To: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-5.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2018 14:47:19 -0000 I am atempting to 9re-)install ezjail on a host which had it previously installed and removed. When it was removed the relics of its exitance were also removed: pkg remove ezjail rm -rf /usr/local/etc/ezjail.conf rm -rf /usr/local/etc/ezjail chflags -R noschg /usr/jails rm -rf /usr/jails zfs destroy -r zroot/ezjail I then restarted the host, just to make sure. Then I reinstalled ezjail: pkg install ezjail Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking integrity... done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: ezjail: 3.4.2 Number of packages to be installed: 1 Proceed with this action? [y/N]: y [1/1] Installing ezjail-3.4.2... [1/1] Extracting ezjail-3.4.2: 100% and recreated the zfs backing store: zfs create -p zroot/ezjail and edited the new /usr/local/etc/ezjail.conf to use zfs: # grep zfs /usr/local/etc/ezjail.conf ezjail_use_zfs="YES" # Setting this to YES will manage ALL new jails in their own zfs ezjail_use_zfs_for_jails="YES" ezjail_jailzfs="zroot/ezjail" # ezjail_zfs_properties="-o compression=lzjb -o atime=off" # ezjail_zfs_jail_properties="-o dedup=on" But when I ran ezjail-admin install I got this error: ezjail-admin install base.txz 100% of 99 MB 621 kBps 02m45s tar: could not chdir to '/usr/jails/fulljail' # ll /usr/jails total 0 ll /usr/local/etc/ezjail total 0 Have I missed a step? -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3