web-dev-qa-db-ja.com

ezjail:アップデートの問題

FreeSDB 10でezjail野球を更新しようとすると、問題が発生します。

私はFreeBSD10.2-RELEASE-p11とezjailv3.4.2を使用しています

刑務所は内部に正しいバージョンを示していますが、更新の進行状況は完了していないようです。

これは私が得ているものです:

ezjail-admin update -u
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching metadata signature for 10.2-RELEASE from update6.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 10.2-RELEASE-p11.
No updates are available to install.
Run '/usr/sbin/freebsd-update fetch' first.
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching metadata signature for 10.2-RELEASE from update3.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 10.2-RELEASE-p11:
/usr/src/contrib/ntp/include/ntp_keyacc.h
/usr/src/contrib/ntp/include/rc_cmdlength.h
/usr/src/contrib/ntp/include/safecast.h
/usr/src/contrib/ntp/libntp/is_ip_address.c
/usr/src/contrib/ntp/sntp/m4/ntp_problemtests.m4
/usr/src/contrib/ntp/sntp/tests/fileHandlingTest.c
/usr/src/contrib/ntp/sntp/tests/run-t-log.c
/usr/src/contrib/ntp/sntp/tests/sntptest.c
/usr/src/contrib/ntp/sntp/tests/t-log.c
/usr/src/contrib/ntp/sntp/unity/auto/parseOutput.rb
/usr/src/contrib/ntp/sntp/unity/auto/type_sanitizer.rb
/usr/src/contrib/ntp/sntp/unity/auto/unity_test_summary.py
/usr/src/contrib/ntp/sntp/unity/unity_config.h
/usr/src/contrib/ntp/tests/libntp/lfptest.c
/usr/src/contrib/ntp/tests/libntp/sockaddrtest.c
/usr/src/contrib/ntp/tests/ntpd/leapsec.c
/usr/src/contrib/ntp/tests/ntpd/ntp_prio_q.c
/usr/src/contrib/ntp/tests/ntpd/ntp_restrict.c
/usr/src/contrib/ntp/tests/ntpd/rc_cmdlength.c
/usr/src/contrib/ntp/tests/ntpd/run-leapsec.c
/usr/src/contrib/ntp/tests/ntpd/run-ntp_prio_q.c
/usr/src/contrib/ntp/tests/ntpd/run-ntp_restrict.c
/usr/src/contrib/ntp/tests/ntpd/run-rc_cmdlength.c
/usr/src/contrib/ntp/tests/ntpd/run-t-ntp_scanner.c
/usr/src/contrib/ntp/tests/ntpd/run-t-ntp_signd.c
/usr/src/contrib/ntp/tests/ntpd/t-ntp_scanner.c
/usr/src/contrib/ntp/tests/ntpd/t-ntp_signd.c
/usr/src/contrib/ntp/tests/ntpq
/usr/src/contrib/ntp/tests/ntpq/Makefile.am
/usr/src/contrib/ntp/tests/ntpq/Makefile.in
/usr/src/contrib/ntp/tests/ntpq/run-t-ntpq.c
/usr/src/contrib/ntp/tests/ntpq/t-ntpq.c
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
1
basbebe

私も今これを解決しようとしています。これまでのところ、FreeBSDフォーラムで この投稿 を見つけました。

mkdir /basejail
mount -t nullfs -o rw /usr/jails/basejail /basejail

これにより、/usr/jails/newjailブートなどのパスを見つけて更新するために、更新されています。だからあなたは実行することができます

ezjail-admin update -u

更新したら、/ basejailフォルダーをアンマウントして削除することを忘れないでください。

あなたも実行できるようです

ezjail-admin install

ベースジェイルを再作成すると、時間がかかりますが、それもうまくいくようです。

3
Geoff G