From owner-freebsd-jail@freebsd.org Wed Dec 7 19:39:22 2016 Return-Path: Delivered-To: freebsd-jail@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5E002C6C11B for ; Wed, 7 Dec 2016 19:39:22 +0000 (UTC) (envelope-from freebsd@coombscloud.com) Received: from mini.coombscloud.com (mini.coombscloud.com [67.42.252.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mini.coombscloud.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2AF6DF33 for ; Wed, 7 Dec 2016 19:39:21 +0000 (UTC) (envelope-from freebsd@coombscloud.com) Received: from localhost (localhost [127.0.0.1]) by mini.coombscloud.com (Postfix) with ESMTP id 2BBFA1D75179; Wed, 7 Dec 2016 12:39:15 -0700 (MST) X-Virus-Scanned: amavisd-new at mydomain = coombscloud.com Received: from mini.coombscloud.com ([127.0.0.1]) by localhost (mini.coombscloud.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lJ2Jv7PAkIme; Wed, 7 Dec 2016 12:39:11 -0700 (MST) Received: from [192.168.11.214] (209-180-88-130.dia.static.qwest.net [209.180.88.130]) by mini.coombscloud.com (Postfix) with ESMTPSA id A98851D75163; Wed, 7 Dec 2016 12:39:11 -0700 (MST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: Failure to add new files when updating jails with ezjail-admin From: Kirk Coombs In-Reply-To: <5847683B.8080703@gmail.com> Date: Wed, 7 Dec 2016 12:39:10 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <367EE20D-4169-43A3-A8EF-D2859C9E006F@coombscloud.com> References: <90E6EB87-40FD-42EB-A45E-A5CBAF488BB9@coombscloud.com> <5847653F.2080502@quip.cz> <5847683B.8080703@gmail.com> To: freebsd-jail@freebsd.org X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2016 19:39:22 -0000 > On Dec 6, 2016, at 6:39 PM, Ernie Luzar wrote: >=20 > Miroslav Lachman wrote: >> Kirk Coombs wrote on 2016/12/07 01:20: >>>=20 >>> The following files will be added as part of updating to = 10.3-RELEASE-p13: >>> /usr/share/zoneinfo/Asia/Barnaul >>> /usr/share/zoneinfo/Asia/Famagusta >>> /usr/share/zoneinfo/Asia/Tomsk >>> /usr/share/zoneinfo/Asia/Yangon >>> /usr/share/zoneinfo/Europe/Astrakhan >>> /usr/share/zoneinfo/Europe/Kirov >>> /usr/share/zoneinfo/Europe/Ulyanovsk >> Files below are sources, these should not be in jails >>> = /usr/src/contrib/libarchive/libarchive/test/test_write_disk_secure744.c >>> = /usr/src/contrib/libarchive/libarchive/test/test_write_disk_secure745.c >>> = /usr/src/contrib/libarchive/libarchive/test/test_write_disk_secure746.c >>> /usr/src/contrib/ntp/README.pullrequests >>> /usr/src/contrib/ntp/lib/isc/tsmemcmp.c >>> /usr/src/contrib/ntp/scripts/build/genAuthors.in >>> /usr/src/contrib/ntp/sntp/m4/sntp_problemtests.m4 >>> /usr/src/contrib/ntp/tests/libntp/run-tsafememcmp.c >>> /usr/src/contrib/ntp/tests/libntp/tsafememcmp.c >>> /usr/src/contrib/tzdata/CONTRIBUTING >>> /usr/src/contrib/tzdata/LICENSE >>> /usr/src/contrib/tzdata/Makefile >>> /usr/src/contrib/tzdata/NEWS >>> /usr/src/contrib/tzdata/README >>> /usr/src/contrib/tzdata/Theory >>> /usr/src/contrib/tzdata/backzone >>> /usr/src/contrib/tzdata/checklinks.awk >>> /usr/src/contrib/tzdata/checktab.awk >>> /usr/src/contrib/tzdata/leapseconds.awk >>> /usr/src/contrib/tzdata/version >>> /usr/src/contrib/tzdata/zoneinfo2tdf.pl >>>=20 >>> The following files will be updated as part of updating to = 10.3-RELEASE-p13: >>> /var/db/mergemaster.mtree >>> Installing updates...mkdir: /usr/jails/newjail//boot: No such file = or directory >>> mtree: /usr/jails/newjail//boot/kernel: No such file or directory >>> mtree: /usr/jails/newjail//boot/kernel.old: No such file or = directory >>> touch: /usr/jails/newjail//boot/kernel.old/.freebsd-update: No such = file or directory >>> Could not create kernel backup directory >> Jails are not using own kernel thus don;t need /boot/kernel directory >>> The output is the same now matter how many times I invoke = "ezjail-admin update -u,=E2=80=9D so the new files are clearly not being = inserted into the basejail. >>>=20 >>> Any suggestions? >> I don't like ezjail I am rolling jails by hand (few simple shell = scripts) so I can't talk about ezjail... but if freebsd-update failed = because /boot/kernel was not found inside jail, you can try to create = this directory (empty directory) and run update again. >> Miroslav Lachman >=20 >=20 > qjail which is a fork of ezjail doesn't use the freebsd-update method = to update its sharedfs directory tree which ezjail calls basejail. Give = it a try. You may want to look at jail-primer port for background info = on jails. >=20 >=20 Thanks, I=E2=80=99ll take a look at those suggestions.=