iocell icon indicating copy to clipboard operation
iocell copied to clipboard

iocell doesn't play nice when host=12.0-CURRENT and jail=11.0-RELEASE

Open dch opened this issue 8 years ago • 1 comments

Make sure to follow and check these boxes before submitting an issue! Thank you.

  • [x] Supply iocell version 20170124
  • [x] Supply the commands used, along with any steps to recreate it.
  • [x] Provide the output from iocell
  • [x] Supply what you expected the result or output to be
  • [x] Checked that the problem has not already been fixed on develop if using the stable release or master branch.
iocell create pkglist=/tmp/pkg tag=teepee release=11.0-RELEASE
Failed to extract new tree.
* Installing extra packages..
  INFO: installing: ftp/curl
pkg: open(/bin/sh): No such file or directory
pkg: open(/bin/sh): No such file or directory
pkg: Unable to determine ABI
pkg: Cannot parse configuration file!
  Successfully created: e506d723-0507-11e7-a236-74da387ee6e0 (teepee)

and when entering the jail:

root@akai /r/diy-jails# iocell console teepee
FreeBSD 12.0-CURRENT (GENERIC) #4 r314337+3d00b61e5dbd(drm-next): Sat Mar  4 19:50:38 UTC 2017
...
root@e506d723-0507-11e7-a236-74da387ee6e0:~ # uname -a
FreeBSD e506d723-0507-11e7-a236-74da387ee6e0 12.0-CURRENT FreeBSD 12.0-CURRENT #4 r314337+3d00b61e5dbd(drm-next): Sat Mar  4 19:50:38 UTC 2017     root@akai:/usr/obj/usr/src/sys/GENERIC  amd64
root@e506d723-0507-11e7-a236-74da387ee6e0:~ # sysctl -a kern |grep osrel
kern.osrelease: 12.0-CURRENT
kern.osreldate: 1200022
kern.disallow_high_osrel: 0

I have found some solutions for these already using "bare jails" so I'll send a PR in due course to fix this.

  • ensure osrelease = "11.0-RELEASE-p8"; osreldate = 1100122; are transferred from template into jail
  • use pkg -o ABI=${ABI} to ensure compatible packages are deployed

dch avatar Mar 09 '17 21:03 dch

Is this still an issue? Any chance you could check wether it is related (and fixed in) to https://github.com/bartekrutkowski/iocell/pull/26 ?

bartekrutkowski avatar Jul 04 '17 16:07 bartekrutkowski