The cause of all the grief described below was caused by forgetting to run ezjail-admin update -U -s 11.2-RELEASE on the jail host followed by pkg-static install -f pkg and pkg upgrade on each of the updated jails. 2019-06-28.
We use ezjail to manage our jails. We recently updated the host system to FreeBSD-12.0p5. We later updated a jail using
. Everything seemed to complete without error. However, some time later we had occasion to run uptime from within the jail and this produced the following error:
I have searched for this and the only report that I found which might apply is https://www.otoh.org/post/2019/02/undefined-symbol-statfbsd_1.5/ . However, when I check the sha512 hash I cannot find a mismatched library:
I have not run across this problem before. This jail was successfully updated to FreeBSd-12.0 before. However, I cannot be certain that uptime was run on it previously and so the problem may have been there from the beginning.
How do I go about locating what the exact problem is and determine the remedy?
We use ezjail to manage our jails. We recently updated the host system to FreeBSD-12.0p5. We later updated a jail using
Code:
ezjail-admin update -u
Code:
/lib/libkvm.so.7: Undefined symbol "fstat@FBSD_1.5"
I have searched for this and the only report that I found which might apply is https://www.otoh.org/post/2019/02/undefined-symbol-statfbsd_1.5/ . However, when I check the sha512 hash I cannot find a mismatched library:
Code:
# sha512 /lib/libkvm.so* /usr/jails/*/lib/libkvm.so*
SHA512 (/lib/libkvm.so.7) = ef20c02357e50b7f4366fefe5c678a6739ae38db270953fccb2badd11b201efcd6f4fbcde0fd5313069623551a76c47b3f7f8a02b8909b00a292d8b03f1df633
SHA512 (/usr/jails/basejail/lib/libkvm.so.7) = ef20c02357e50b7f4366fefe5c678a6739ae38db270953fccb2badd11b201efcd6f4fbcde0fd5313069623551a76c47b3f7f8a02b8909b00a292d8b03f1df633
I have not run across this problem before. This jail was successfully updated to FreeBSd-12.0 before. However, I cannot be certain that uptime was run on it previously and so the problem may have been there from the beginning.
How do I go about locating what the exact problem is and determine the remedy?
Last edited: