On 10/28/2013 7:00 AM, Anton Shterenlikht wrote: >>From [email protected] Mon Oct 28 11:46:27 2013 >> On 10/28/2013 6:21 AM, Anton Shterenlikht wrote: >>> >From [email protected] Fri Oct 25 11:47:07 2013 >>>>>>>>> I'm getting this error: >>>>>>>>> =3D> SHA256 Checksum OK for pkg-1.1.4.tar.xz. >>>>>>>>> mkdir: /usr/ports/ports-mgmt/pkg/work: Read-only file system >>>>>>>>> *** Error code 1 >>>>>>>>> >>>>>>>>> So something is wrong with my setup? >>>>>>>>> Does this look all right: >>>>>>>>> >>>>>>>>> # poudriere jails -l >>>>>>>>> JAILNAME VERSION ARCH METHOD PATH >>>>>>>>> ia64 10.0-ALPHA5 r256218 ia64 svn+https /pdr/= >> jails/ia64 >>>>>>>>> # poudriere ports -l >>>>>>>>> PORTSTREE METHOD PATH >>>>>>>>> default svn+https /pdr/ports/default >>>>>>>>> # df >>>>>>>>> Filesystem 1K-blocks Used Avail Capacity= >> Mounted on >>>>>>>>> /dev/da0p2 60931274 49946430 6110344 89% = >> / >>>>>>>>> devfs 1 1 0 100% = >> /dev >>>>>>>>> /dev/da0p1 409504 1184 408320 0% = >> /efi >>>>>>>>> tank/poudriere/data 31736572 1290 31735281 0% = >> /pdr/data >>>>>>>>> tank/poudriere/jails/ia64 33931466 2196185 31735281 6% = >> /pdr/jails/ia64 >>>>>>>>> tank/poudriere/ports/default 32633749 898468 31735281 3% = >> /pdr/ports/default >>>>>>>>> tank 31735313 32 31735281 0% = >> /tank >>>>>>>>> tank/poudriere 31735314 33 31735281 0% = >> /tank/poudriere >>>>>>>>> tank/poudriere/jails 31735312 31 31735281 0% = >> /tank/poudriere/jails >>>>>>>>> tank/poudriere/ports 31735312 31 31735281 0% = >> /tank/poudriere/ports >>>>>>>>> #=20 >>>>>>>>> >>>>>>>>> # grep "^[A-Z]" /usr/local/etc/poudriere.conf >>>>>>>>> ZPOOL=3Dtank >>>>>>>>> FREEBSD_HOST=3Dhttps://svn0.eu.freebsd.org >>>>>>>>> RESOLV_CONF=3D/etc/resolv.conf >>>>>>>>> BASEFS=3D/pdr >>>>>>>>> USE_PORTLINT=3Dyes >>>>>>>>> USE_TMPFS=3Dyes >>>>>>>>> DISTFILES_CACHE=3D/usr/ports/distfiles >>>>>>>>> SVN_HOST=3Dsvn0.eu.FreeBSD.org >>>>>>>>> CHECK_CHANGED_OPTIONS=3Dverbose >>>>>>>>> CHECK_CHANGED_DEPS=3Dyes >>>>>>>>> PKG_REPO_SIGNING_KEY=3D/root/pkg.key >>>>>>>>> CCACHE_DIR=3D/var/cache/ccache >>>>>>>>> SAVE_WRKDIR=3Dyes >>>>>>>>> #=20 >>>>>>>>> >>>>>>>>> What am I missing? >>>>>>>>> >>>>>>>>> On another box I set up poudriere with no zfs >>>>>>>>> and it works all right. So I think I messed up >>>>>>>>> the zfs setup. >>>>>>>> >>>>>>>> You may try to use "poudriere testport -i ...". Then poudriere wil= >> l >>>>>>>> not umount jail (it will be umounted when you exit the jail comman= >> d >>>>>>>> propmt) and you may explore the system (i.e. mount, jls, etc.) to >>>>>>>> find out what's going on. >>>>>>> >>>>>>> ok, so after a failure, still in a jail: >>>>>>> >>>>>>> root@ia64-default:~ # df >>>>>>> Filesystem 1K-blocks Used Avail Ca= >> pacity Mounted on >>>>>>> tank/poudriere/jails/ia64-default-ref 33930819 2198542 31732277 = >> 6% / >>>>>>> root@ia64-default:~ # ls -al /usr/ports/ports-mgmt/pkg >>>>>>> total 15 >>>>>>> drwxr-xr-x 3 root wheel 8 Oct 9 13:23 . >>>>>>> drwxr-xr-x 85 root wheel 86 Oct 9 13:23 .. >>>>>>> -rw-r--r-- 1 root wheel 2544 Oct 9 13:23 Makefile >>>>>>> -rw-r--r-- 1 root wheel 127 Oct 9 13:23 distinfo >>>>>>> drwxr-xr-x 2 root wheel 13 Oct 9 13:23 files >>>>>>> -rw-r--r-- 1 root wheel 87 Oct 9 13:23 pkg-descr >>>>>>> -rw-r--r-- 1 root wheel 73 Oct 9 13:23 pkg-message >>>>>>> -rw-r--r-- 1 root wheel 1420 Oct 9 13:23 pkg-plist >>>>>>> root@ia64-default:~ # whoami >>>>>>> root >>>>>>> root@ia64-default:~ # mkdir /usr/ports/ports-mgmt/pkg/work >>>>>>> mkdir: /usr/ports/ports-mgmt/pkg/work: Read-only file system >> >> The WRKDIRPREFIX should be set to /wrkdirs in the jail's make.conf. Can >> you go into the jail and show the contents of /etc/make.conf? > > ok, after > > # poudriere testport -j ia64 -i -o ports-mgmt/pkg > > while inside the jail: > > root@ia64-default:~ # cat /etc/make.conf > PORTSDIR=/usr/ports > PACKAGES=/packages > DISTDIR=/distfiles > DISTDIR=/portdistfiles > PACKAGES=/packages > root@ia64-default:~ #
How did you create this jail? It is not properly setup. > > Thanks > > Anton > -- Regards, Bryan Drewery
signature.asc
Description: OpenPGP digital signature
