I suppose it's time for me to describe in a bit more detail what I am experiencing.
I upgraded host from 12.2-p1 to 12.2-p4 , where I run xorg/i3wm, but all GUI stuff is done in jails. I deleted my GUI jail_template, re-installed, updated, and added the packages. Process looks something like this (
0kde being the name of the gui jail template):
Code:
zfs create zroot/jails/0kde
bsdinstall jail /jails/0kde
jail -c 0kde
freebsd-update -b /jails/0kde fetch install
jexec -l -U root 0kde /bin/csh
pkg update
And here I come to the first error/clue:
Code:
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:12:amd64/quarterly, please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
[0kde] Installing pkg-1.16.3...
Newer FreeBSD version for package pkg:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1202000
- running kernel: 1201000
Ignore the mismatch and continue? [y/N]:
I have updated both jail and host, the output of
uname -a
for both is: FreeBSD 0kde 12.2-RELEASE-p4 FreeBSD 12.2-RELEASE-p4 GENERIC amd64
I have also tried rebooting (of course). Ignoring the mismatch, I continue, installing nvidia-driver, xorg, qt5, gtk, falkon, firefox, telegram-desktop, libreoffice, etc...
Upon starting a GUIjail based on the template, I am able to open Falkon, xcalc, and a limited set of GUI applications. However, when attempting to run Firefox, Libreoffice, and Telegram-desktop, here are my errors (from inside the jail
"corporate"):
Code:
corporate@corporate:~ % telegram-desktop
(process:81310): Telegram-WARNING **: 17:50:20.769: GTK integration was disabled on build or in runtime. This will lead to clipboard issues and a lack of some features (like Auto-Night Mode or system window controls layout).
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-corporate'
Telegram-Message: 17:50:20.977: You can disable tray icon counter with TDESKTOP_DISABLE_TRAY_COUNTER and make it look better if it is monochrome.
ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "pthread_setname_np@FBSD_1.6"
corporate@corporate:~ % firefox
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: No GPUs detected via PCI (t=0.369654) [GFX1-]: No GPUs detected via PCI
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: No GPUs detected via PCI (t=0.369654) |[1][GFX1-]: glxtest: process failed (received signal 11) (t=0.36984) [GFX1-]: glxtest: process failed (received signal 11)
ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "pthread_setname_np@FBSD_1.6"
corporate@corporate:~ % libreoffice
ld-elf.so.1: /usr/local/lib/libreoffice/program/libuno_sal.so.3: Undefined symbol "pthread_setname_np@FBSD_1.6"
corporate@corporate:~ %
And here is the output from running the command that Zirias provided. Inside the jail, I get no return, but from host, I get the following:
Code:
root@dom0:~ # objdump -TC /usr/lib/libpthread.so | grep pthread_setname_np
000000000000e0f0 w DF .text 00000000000002a7 FBSD_1.6 pthread_setname_np
Finally, I have one more error which might be relevant, as regarding upgrading the
0kde the gui template. When doing so, I am unable to install some of the packages related to blacklisted certs/ssl. I put this at the end, because I'm not sure if it's relevant, but just in case...
Code:
root@dom0:~ # freebsd-update -b /jails/0kde fetch install
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 12.2-RELEASE from update2.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.
The following files will be added as part of updating to
12.2-RELEASE-p4:
/etc/ssl/blacklisted/2c543cd1.0
/etc/ssl/blacklisted/2e4eed3c.0
/etc/ssl/blacklisted/480720ec.0
/etc/ssl/blacklisted/7d0b38bd.0
/etc/ssl/blacklisted/8867006a.0
/etc/ssl/blacklisted/ad088e1d.0
/etc/ssl/blacklisted/b204d74a.0
/etc/ssl/blacklisted/ba89ed3b.0
/etc/ssl/blacklisted/c089bbbd.0
/etc/ssl/blacklisted/e2799e36.0
/etc/ssl/certs/3fb36b73.0
/usr/share/certs/blacklisted/GeoTrust_Global_CA.pem
/usr/share/certs/blacklisted/GeoTrust_Primary_Certification_Authority.pem
/usr/share/certs/blacklisted/GeoTrust_Primary_Certification_Authority_-_G3.pem
/usr/share/certs/blacklisted/GeoTrust_Universal_CA.pem
/usr/share/certs/blacklisted/GeoTrust_Universal_CA_2.pem
/usr/share/certs/blacklisted/VeriSign_Class_3_Public_Primary_Certification_Authority_-_G4.pem
/usr/share/certs/blacklisted/VeriSign_Class_3_Public_Primary_Certification_Authority_-_G5.pem
/usr/share/certs/blacklisted/thawte_Primary_Root_CA.pem
/usr/share/certs/blacklisted/thawte_Primary_Root_CA_-_G2.pem
/usr/share/certs/blacklisted/thawte_Primary_Root_CA_-_G3.pem
/usr/share/certs/trusted/NAVER_Global_Root_Certification_Authority.pem
Installing updates...install: /jails/0kde//usr/share/certs/blacklisted/GeoTrust_Global_CA.pem: No such file or directory
install: /jails/0kde//usr/share/certs/blacklisted/GeoTrust_Primary_Certification_Authority.pem: No such file or directory
install: /jails/0kde//usr/share/certs/blacklisted/GeoTrust_Primary_Certification_Authority_-_G3.pem: No such file or directory
install: /jails/0kde//usr/share/certs/blacklisted/GeoTrust_Universal_CA.pem: No such file or directory
install: /jails/0kde//usr/share/certs/blacklisted/GeoTrust_Universal_CA_2.pem: No such file or directory
install: /jails/0kde//usr/share/certs/blacklisted/VeriSign_Class_3_Public_Primary_Certification_Authority_-_G4.pem: No such file or directory
install: /jails/0kde//usr/share/certs/blacklisted/VeriSign_Class_3_Public_Primary_Certification_Authority_-_G5.pem: No such file or directory
install: /jails/0kde//usr/share/certs/blacklisted/thawte_Primary_Root_CA.pem: No such file or directory
install: /jails/0kde//usr/share/certs/blacklisted/thawte_Primary_Root_CA_-_G2.pem: No such file or directory
install: /jails/0kde//usr/share/certs/blacklisted/thawte_Primary_Root_CA_-_G3.pem: No such file or directory
install: /jails/0kde//usr/share/certs/trusted/NAVER_Global_Root_Certification_Authority.pem: No such file or directory
Scanning /jails/0kde/usr/local/share/certs for certificates...
pwd_mkdb: /jails/0kde/etc/master.passwd: No such file or directory
done.
root@dom0:~ #
Sorry for providing such a long descrption, but I just want to make sure I'm not on a red herring, or having missed some obvious step. Thank you very much for your help.