Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2017 10:57:11 -0600
From:      markham breitbach <markham_breitbach@ssimicro.com>
To:        freebsd-pkg@FreeBSD.org
Subject:   poudriere in a jail
Message-ID:  <2cc3949f-7807-f0d7-49dd-0887fe2b2222@ssimicro.com>

next in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2cc3949f-7807-f0d7-49dd-0887fe2b2222>