I've tried updating my basejail on the system with:
but it is unfortunately failing with following message:
Host is already upgraded to 11.0-RELEASE-p7 but basejail is failing as you can see. Directories it is complaining about indeed don't exist (symlinked to wrong location it would seem).
It is probably worth mentioning that basejail was deployed with:
Is there any way to go around this. All suggestions are welcome.
ezjail-admin update -u
but it is unfortunately failing with following message:
Code:
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching metadata signature for 11.0-RELEASE from update6.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 11.0-RELEASE-p7:
/usr/src/contrib/libarchive/README.md
/usr/src/contrib/ntp/include/libssl_compat.h
/usr/src/contrib/ntp/libntp/libssl_compat.c
/usr/src/contrib/ntp/sntp/unity/ulib_setup.c
/usr/src/contrib/ntp/sntp/unity/ulib_teardown.c
/usr/src/contrib/tzdata/CONTRIBUTING
/usr/src/contrib/tzdata/LICENSE
/usr/src/contrib/tzdata/Makefile
/usr/src/contrib/tzdata/NEWS
/usr/src/contrib/tzdata/README
/usr/src/contrib/tzdata/Theory
/usr/src/contrib/tzdata/backzone
/usr/src/contrib/tzdata/checklinks.awk
/usr/src/contrib/tzdata/checktab.awk
/usr/src/contrib/tzdata/leapseconds.awk
/usr/src/contrib/tzdata/version
/usr/src/contrib/tzdata/zoneinfo2tdf.pl
Installing updates...install: /usr/jails/basejail//usr/src/contrib/libarchive/README.md: No such file or directory
install: /usr/jails/basejail//usr/src/contrib/ntp/include/libssl_compat.h: No such file or directory
install: /usr/jails/basejail//usr/src/contrib/ntp/libntp/libssl_compat.c: No such file or directory
install: /usr/jails/basejail//usr/src/contrib/ntp/sntp/unity/ulib_setup.c: No such file or directory
install: /usr/jails/basejail//usr/src/contrib/ntp/sntp/unity/ulib_teardown.c: No such file or directory
install: /usr/jails/basejail//usr/src/contrib/tzdata/CONTRIBUTING: No such file or directory
install: /usr/jails/basejail//usr/src/contrib/tzdata/LICENSE: No such file or directory
install: /usr/jails/basejail//usr/src/contrib/tzdata/Makefile: No such file or directory
install: /usr/jails/basejail//usr/src/contrib/tzdata/NEWS: No such file or directory
install: /usr/jails/basejail//usr/src/contrib/tzdata/README: No such file or directory
install: /usr/jails/basejail//usr/src/contrib/tzdata/Theory: No such file or directory
install: /usr/jails/basejail//usr/src/contrib/tzdata/backzone: No such file or directory
install: /usr/jails/basejail//usr/src/contrib/tzdata/checklinks.awk: No such file or directory
install: /usr/jails/basejail//usr/src/contrib/tzdata/checktab.awk: No such file or directory
install: /usr/jails/basejail//usr/src/contrib/tzdata/leapseconds.awk: No such file or directory
install: /usr/jails/basejail//usr/src/contrib/tzdata/version: No such file or directory
install: /usr/jails/basejail//usr/src/contrib/tzdata/zoneinfo2tdf.pl: No such file or directory
done.
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching metadata signature for 11.0-RELEASE from update4.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 11.0-RELEASE-p7:
/usr/share/zoneinfo/Asia/Barnaul
/usr/share/zoneinfo/Asia/Famagusta
/usr/share/zoneinfo/Asia/Tomsk
/usr/share/zoneinfo/Asia/Yangon
/usr/share/zoneinfo/Europe/Astrakhan
/usr/share/zoneinfo/Europe/Kirov
/usr/share/zoneinfo/Europe/Ulyanovsk
/usr/src/contrib/libarchive/README.md
/usr/src/contrib/ntp/include/libssl_compat.h
/usr/src/contrib/ntp/libntp/libssl_compat.c
/usr/src/contrib/ntp/sntp/unity/ulib_setup.c
/usr/src/contrib/ntp/sntp/unity/ulib_teardown.c
/usr/src/contrib/tzdata/CONTRIBUTING
/usr/src/contrib/tzdata/LICENSE
/usr/src/contrib/tzdata/Makefile
/usr/src/contrib/tzdata/NEWS
/usr/src/contrib/tzdata/README
/usr/src/contrib/tzdata/Theory
/usr/src/contrib/tzdata/backzone
/usr/src/contrib/tzdata/checklinks.awk
/usr/src/contrib/tzdata/checktab.awk
/usr/src/contrib/tzdata/leapseconds.awk
/usr/src/contrib/tzdata/version
/usr/src/contrib/tzdata/zoneinfo2tdf.pl
Installing updates...mkdir: /usr/jails/newjail//boot: No such file or directory
mtree: /usr/jails/newjail//boot/kernel: No such file or directory
mtree: /usr/jails/newjail//boot/kernel.old: No such file or directory
touch: /usr/jails/newjail//boot/kernel.old/.freebsd-update: No such file or directory
Could not create kernel backup directory
Host is already upgraded to 11.0-RELEASE-p7 but basejail is failing as you can see. Directories it is complaining about indeed don't exist (symlinked to wrong location it would seem).
It is probably worth mentioning that basejail was deployed with:
ezjail-admin install -p
Is there any way to go around this. All suggestions are welcome.