installkernel/world over readonly nfs generating warnings (RELENG_13)
Date: Mon, 20 Dec 2021 17:17:34 UTC
I made a new RELENG_13 buildserver that I want to nfs mount from clients
to update world. On RELENG_12 and below, I could do this on read only
nfs mounts. However, when I try on RELENG_13, I get a constant spew of
warnings for installkernel and world
0{git}# cd /crossbuild/src/
0{git}# setenv MAKEOBJDIRPREFIX /crossbuild/obj/
0{git}# make installkernel
make warning: /crossbuild/obj//crossbuild/src: Read-only file system.
make[1] warning: /crossbuild/src/: Read-only file system.
make[2] warning: /crossbuild/obj/crossbuild/src/amd64.amd64: Read-only
file system.
--------------------------------------------------------------
>>> Install check kernel
--------------------------------------------------------------
...
===> aac (install)
make[4] warning:
/crossbuild/obj/crossbuild/src/amd64.amd64/sys/GENERIC/modules/crossbuild/src/sys/modules/aac:
Read-only file system.
install -T release -o root -g wheel -m 555 aac.ko /boot/kernel/
install -T dbg -o root -g wheel -m 555 aac.ko.debug
/usr/lib/debug/boot/kernel/
===> aacraid (install)
make[4] warning:
/crossbuild/obj/crossbuild/src/amd64.amd64/sys/GENERIC/modules/crossbuild/src/sys/modules/aacraid:
Read-only file system.
install -T release -o root -g wheel -m 555 aacraid.ko /boot/kernel/
install -T dbg -o root -g wheel -m 555 aacraid.ko.debug
/usr/lib/debug/boot/kernel/
===> accf_data (install)
make[4] warning:
/crossbuild/obj/crossbuild/src/amd64.amd64/sys/GENERIC/modules/crossbuild/src/sys/modules/accf_data:
Read-only file system.
install -T release -o root -g wheel -m 555 accf_data.ko /boot/kernel/
install -T dbg -o root -g wheel -m 555 accf_data.ko.debug
/usr/lib/debug/boot/kernel/
and during installworld
make warning: /crossbuild/obj//crossbuild/src: Permission denied.
make[1] warning: /crossbuild/src/: Permission denied.
make[1]:
"/crossbuild/obj/crossbuild/src/amd64.amd64/toolchain-metadata.mk" line
1: Using cached toolchain metadata from build at build13.sentex.ca on
Mon Dec 20 04:05:34 UTC 2021
make[2] warning: /crossbuild/obj/crossbuild/src/amd64.amd64: Permission
denied.
make[2] warning: /crossbuild/src/: Permission denied.
make[3] warning: /crossbuild/obj/crossbuild/src/amd64.amd64: Permission
denied.
make[3] warning: /crossbuild/src/: Permission denied.
make[4] warning: /crossbuild/obj/crossbuild/src/amd64.amd64: Permission
denied.
make[3] warning: /crossbuild/src/: Permission denied.
make[3]:
"/crossbuild/obj/crossbuild/src/amd64.amd64/toolchain-metadata.mk" line
1: Using cached toolchain metadata from build at build13.sentex.ca on
Mon Dec 20 04:05:34 UTC 2021
make[4] warning: /crossbuild/obj/crossbuild/src/amd64.amd64: Permission
denied.
make[3] warning: /crossbuild/src/: Permission denied.
make[4] warning: /crossbuild/obj/crossbuild/src/amd64.amd64: Permission
denied.
make[4] warning:
/crossbuild/obj/crossbuild/src/amd64.amd64/obj-lib32/lib: Permission denied.
make[5] warning:
/crossbuild/obj/crossbuild/src/amd64.amd64/obj-lib32/lib/csu: Permission
denied.
make[6] warning:
/crossbuild/obj/crossbuild/src/amd64.amd64/obj-lib32/lib/csu/i386:
Permission denied.
make[5] warning:
/crossbuild/obj/crossbuild/src/amd64.amd64/obj-lib32/lib/libc:
Permission denied.
make[5] warning:
/crossbuild/obj/crossbuild/src/amd64.amd64/obj-lib32/lib/libc_nonshared:
Permission denied.
make[5] warning:
/crossbuild/obj/crossbuild/src/amd64.amd64/obj-lib32/lib/libcompiler_rt:
Permission denied.
make[5] warning:
/crossbuild/obj/crossbuild/src/amd64.amd64/obj-lib32/lib/libclang_rt:
Permission denied.
It seems to install OK, but every module generates a warning. Is there
a better way to installkernel / world over nfs on RELENG_13 ? I dont
want to make it RW if possible.
0{git}# mount -t nfs
192.168.153.29:/crossbuild on /crossbuild (nfs, read-only)
0{git}#
---Mike