Bug#757985: kfreebsd: hang with ENOSPC after a few components are loaded
Control: tags -1 + patch
Hi,
The simple patch for this issue is as follows. It has been tested now
on kfreebsd-amd64 and kfreebsd-i386 with varying amounts of available
RAM.
* On kfreebsd, use dynamically-sized tmpfs for:
- /var/cache/anna
- /var/lib/cdebconf
to avoid running out of space in the fixed-size initrd.
(Closes: #757985)
diff --git a/src/sbin/init-kfreebsd b/src/sbin/init-kfreebsd
index e8ea04d..e10f149 100755
--- a/src/sbin/init-kfreebsd
+++ b/src/sbin/init-kfreebsd
@@ -19,6 +19,8 @@ mount /dev
mount /dev/fd
mount /proc
mount /sys
+mount -t tmpfs tmpfs /var/cache/anna
+mount -t tmpfs tmpfs /var/lib/cdebconf
ln -s /var/run/log /dev/log
# Get all kernel parameters that can be exported as environment variables
Thanks,
Regards,
--
Steven Chamberlain
steven@pyro.eu.org
Reply to: