From owner-freebsd-pkg@freebsd.org Wed Oct 11 16:57:25 2017 Return-Path: Delivered-To: freebsd-pkg@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 31A8EE30F48 for ; Wed, 11 Oct 2017 16:57:25 +0000 (UTC) (envelope-from markham@ssimicro.com) Received: from barracuda.ssimicro.com (barracuda.ssimicro.com [96.46.39.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.ssimicro.com", Issuer "RapidSSL SHA256 CA - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 001756EB26 for ; Wed, 11 Oct 2017 16:57:21 +0000 (UTC) (envelope-from markham@ssimicro.com) X-ASG-Debug-ID: 1507741032-08e7172d0ce8f450001-saz5w4 Received: from mail.ssimicro.com (mail.ssimicro.com [64.247.129.10]) by barracuda.ssimicro.com with ESMTP id jh5Sdpccj2HBvPMM (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 11 Oct 2017 12:57:12 -0400 (EDT) X-Barracuda-Envelope-From: markham@ssimicro.com X-Barracuda-Effective-Source-IP: mail.ssimicro.com[64.247.129.10] X-Barracuda-Apparent-Source-IP: 64.247.129.10 Received: from markham.ssimicro.com (markham.ssimicro.com [64.247.130.99]) (authenticated bits=0) by mail.ssimicro.com (8.15.2/8.15.2) with ESMTPSA id v9BGvBsF008531 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 11 Oct 2017 10:57:12 -0600 (MDT) (envelope-from markham@ssimicro.com) To: freebsd-pkg@FreeBSD.org From: markham breitbach Subject: poudriere in a jail Message-ID: <2cc3949f-7807-f0d7-49dd-0887fe2b2222@ssimicro.com> X-ASG-Orig-Subj: poudriere in a jail Date: Wed, 11 Oct 2017 10:57:11 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Barracuda-Connect: mail.ssimicro.com[64.247.129.10] X-Barracuda-Start-Time: 1507741032 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://barracuda.ssimicro.com:443/cgi-mod/mark.cgi X-Barracuda-Scan-Msg-Size: 2424 X-Virus-Scanned: by bsmtpd at ssimicro.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=5.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.43804 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 16:57:25 -0000 I am trying to run poudriere in a jail, but when I try to run a build it just gives me a whole lot of this and dies without. ``` # poudriere bulk -f /usr/local/etc/poudriere.d/pkglist.txt -j 10amd64 [00:00:00] =3D=3D=3D=3D>> Creating the reference jail...chflags: /poo/data/.m/10amd64-default/ref/rescue/expr: Read-only file system chflags: /poo/data/.m/10amd64-default/ref/rescue/clri: Read-only file sys= tem chflags: /poo/data/.m/10amd64-default/ref/rescue/vi: Read-only file syste= m =2E.. snip ... [00:00:51] =3D=3D=3D=3D>> Cleaning up [00:00:51] =3D=3D=3D=3D>> Unmounting file systems chflags: /poo/data/.m/10amd64-default/ref/rescue/expr: Read-only file sys= tem chflags: /poo/data/.m/10amd64-default/ref/rescue/clri: Read-only file sys= tem =2E.. snip ... ``` I have used the same configuration outside of the jail and it works fine.= =A0My jail has the following configuration: ``` devfs_ruleset=3D0 nodying enforce_statfs=3D0 host=3Dnew ip4=3Dnew ip6=3Ddisable jid=3D77 linux=3Dnew name=3Dbob_ssimicro_com osreldate=3D10= 03000 osrelease=3D10.3-RELEASE-p11 parent=3D0 path=3D/usr/jails/bob.ssimicro.co= m nopersist securelevel=3D-1 allow.chflags allow.mount allow.mount.devfs allow.mount.fdescfs allow.mount.linprocfs allow.mount.linsysfs allow.mount.nullfs allow.mount.procfs allow.mount.tmpfs allow.mount.zfs allow.noquotas allow.noraw_sockets allow.noset_hostname allow.nosocket_af allow.nosysvipc children.cur=3D0 children.max=3D10 cpuset.id=3D4 host.domainname=3D"" host.hostid=3D0 host.hostname=3Dbob host.hostuuid=3D00000000-0000-0000-0000-000000000000 ip4.addr=3Dxx.xx.xx.xx,127.0.0.1 ip4.saddrsel ip6.addr=3D ip6.saddrsel linux.osname=3DLinux linux.osrelease=3D2.6.32 linux.oss_version=3D198144 ``` I am not using ZFS.=A0 Here is my poudriere.conf ``` #ZPOOL=3Dtank NO_ZFS=3Dyes # ZROOTFS=3D/poudriere FREEBSD_HOST=3Dftp://ftp.freebsd.org BASEFS=3D/poo POUDRIERE_DATA=3D${BASEFS}/data USE_PORTLINT=3Dno USE_TMPFS=3Dyes DISTFILES_CACHE=3D/usr/ports/distfiles CHECK_CHANGED_OPTIONS=3Dverbose CHECK_CHANGED_DEPS=3Dyes PKG_REPO_SIGNING_KEY=3D/usr/local/etc/ssl/keys/repo.key ``` Some other useful information: ``` # uname -a FreeBSD bob.ssimicro.com 10.3-RELEASE-p11 FreeBSD 10.3-RELEASE-p11 #0: Mon Oct 24 18:49:24 UTC 2016=A0=A0=A0=A0 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC=A0 amd64 # poudriere version 3.1.19 ``` I would really like to have this working inside a jail.=A0 Any suggestion= s are greatly appreciated. Thanks, -Markham