From owner-freebsd-questions@freebsd.org Thu Oct 12 23:03:06 2017 Return-Path: Delivered-To: freebsd-questions@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 1A325E373F0 for ; Thu, 12 Oct 2017 23:03:06 +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 DBF086B989 for ; Thu, 12 Oct 2017 23:03:05 +0000 (UTC) (envelope-from markham@ssimicro.com) X-ASG-Debug-ID: 1507849376-08e7172d0cfbb970001-nG3My6 Received: from mail.ssimicro.com (mail.ssimicro.com [64.247.129.10]) by barracuda.ssimicro.com with ESMTP id 2eXCG2rksMA6nzvP (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 12 Oct 2017 19:02:57 -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 v9CN2qxK082248 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 12 Oct 2017 17:02:56 -0600 (MDT) (envelope-from markham@ssimicro.com) From: markham breitbach Subject: poudriere in a jail To: freebsd-questions@FreeBSD.org X-ASG-Orig-Subj: poudriere in a jail Message-ID: Date: Thu, 12 Oct 2017 17:02:52 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Barracuda-Connect: mail.ssimicro.com[64.247.129.10] X-Barracuda-Start-Time: 1507849377 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: 2533 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.43843 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2017 23:03:06 -0000 I posted this to freebsd-pkg, but got no response. I'm hoping someone here might have some ideas. TIA! 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] ====>> 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 system chflags: /poo/data/.m/10amd64-default/ref/rescue/vi: Read-only file system ... snip ... [00:00:51] ====>> Cleaning up [00:00:51] ====>> Unmounting file systems 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 system ... snip ... ``` I have used the same configuration outside of the jail and it works fine.  My jail has the following configuration: ``` devfs_ruleset=0 nodying enforce_statfs=0 host=new ip4=new ip6=disable jid=77 linux=new name=bob_ssimicro_com osreldate=1003000 osrelease=10.3-RELEASE-p11 parent=0 path=/usr/jails/bob.ssimicro.com nopersist securelevel=-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=0 children.max=10 cpuset.id=4 host.domainname="" host.hostid=0 host.hostname=bob host.hostuuid=00000000-0000-0000-0000-000000000000 ip4.addr=xx.xx.xx.xx,127.0.0.1 ip4.saddrsel ip6.addr= ip6.saddrsel linux.osname=Linux linux.osrelease=2.6.32 linux.oss_version=198144 ``` I am not using ZFS.  Here is my poudriere.conf ``` #ZPOOL=tank NO_ZFS=yes # ZROOTFS=/poudriere FREEBSD_HOST=ftp://ftp.freebsd.org BASEFS=/poo POUDRIERE_DATA=${BASEFS}/data USE_PORTLINT=no USE_TMPFS=yes DISTFILES_CACHE=/usr/ports/distfiles CHECK_CHANGED_OPTIONS=verbose CHECK_CHANGED_DEPS=yes PKG_REPO_SIGNING_KEY=/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     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64 # poudriere version 3.1.19 ``` I would really like to have this working inside a jail.  Any suggestions are greatly appreciated. Thanks, -Markham