FreeSDB 10에서 ezjail 공을 업데이트하려고 할 때마다 문제가 발생합니다.
저는 FreeBSD 10.2-RELEASE-p11과 ezjail v3.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
저도 지금 그걸 알아보려고 노력 중이에요. 지금까지 나는 발견했다이 게시물FreeBSD 포럼에서 이로 인해 시도해 보았습니다.
mkdir /basejail
mount -t nullfs -o rw /usr/jails/basejail /basejail
이를 통해 /usr/jails/newjail
업데이트되는 프로그램이 부팅 및 업데이트와 같은 경로를 찾을 수 있습니다. 이렇게 하면 달릴 수 있다
ezjail-admin update -u
업데이트 후에는 /basejail 폴더를 제거하고 삭제하는 것을 잊지 마세요.
너도 달릴 수 있을 것 같아
ezjail-admin install
비록 시간이 더 걸리긴 하지만 기본 감옥을 재창조하는 것도 효과가 있는 것 같습니다.