Hello,
I performed the following steps to upgrade host from 10.4 to 11.2:
No package comes from the ports tree, so I didn't do the ports update part.
And then, to update the jails:
I didn't do the mergemaster part since I do not use /usr/src (empty).
I checked that:
But when I want to start uwsgid inside the jail, I get this:
I uninstalled uwsgi (it is actually installed in a venv using pip3.6) and when I try to reinstall it, it ends up with:
NB: I cannot try this -lelf because this is being installed by pip3.6, so I have no control over the options passed...
So there is something wrong but I cannot find out what exactly. Is there a step I've missed? Or must I rebuild the jail "from scratch"?
I performed the following steps to upgrade host from 10.4 to 11.2:
Code:
# pkg upgrade
# freebsd-update fetch
# freebsd-update install
# freebsd-update upgrade -r 11.2-RELEASE
# freebsd-update install
# shutdown -r now
# freebsd-update install
# pkg upgrade
# freebsd-update install
No package comes from the ports tree, so I didn't do the ports update part.
And then, to update the jails:
Code:
# ezjail-admin update -s 10.4-RELEASE -U
# ezjail-admin console myjail
root@myjail:~ # pkg-static bootstrap -f
root@myjail:~ # pkg upgrade
I didn't do the mergemaster part since I do not use /usr/src (empty).
I checked that:
Code:
# file /srv/basejail/bin/sh
/srv/basejail/bin/sh: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 11.2, FreeBSD-style, stripped
But when I want to start uwsgid inside the jail, I get this:
Code:
root@myjail:~ # service uwsgid start
/usr/local/etc/rc.d/uwsgid: DEBUG: checkyesno: uwsgid_enable is set to YES.
/usr/local/etc/rc.d/uwsgid: DEBUG: run_rc_command: doit: uwsgid_start
/usr/local/etc/rc.d/uwsgid: DEBUG: checkyesno: uwsgid_enable is set to YES.
Starting uwsgid...
Shared object "libkvm.so.6" not found, required by "uwsgi"
I uninstalled uwsgi (it is actually installed in a venv using pip3.6) and when I try to reinstall it, it ends up with:
Code:
/usr/bin/ld: undefined reference to symbol `elf_begin@@R1.0' (try adding -lelf)
//lib/libelf.so.2: could not read symbols: Bad value
NB: I cannot try this -lelf because this is being installed by pip3.6, so I have no control over the options passed...
So there is something wrong but I cannot find out what exactly. Is there a step I've missed? Or must I rebuild the jail "from scratch"?