Skip to content

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

Description

@dch

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

  • Supply iocell version 20170124
  • Supply the commands used, along with any steps to recreate it.
  • Provide the output from iocell
  • Supply what you expected the result or output to be
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions