CTSRD-CHERI / cheribsd

FreeBSD adapted for CHERI-RISC-V and Arm Morello.
http://cheribsd.org
Other
162 stars 58 forks source link

Backport tmpfs threshold fix #2198

Closed jrtc27 closed 1 month ago

jrtc27 commented 1 month ago

Without this, installing in a 4G VM fails (at least with ZFS root selected); the installation appears to succeed, but there are errors in /tmp/bsdinstall_log due to running out of space in /tmp, meaning rc.conf, sysctl.conf and loader.conf are missing in the installed system, causing zfs.ko to not be loaded and thus the kernel not be able to mount root.

It was also reported upstream that poudriere falls over for larger packages even with 64G, and I encountered issues upstream with buildworld -j4 on a 16G system when /tmp is configured to be a tmpfs (non-default, but what cheribuild likes to do).