FreeBSD Bugzilla – Attachment 255015 Details for
Bug 277601
[nanoBSD] enabled entropy_boot_file leads to warning/error from dd during boot
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
nanoBSD: disable entropy caching and early hostuuid
0001-nanoBSD-disable-entropy-caching-and-early-hostuuid.patch (text/plain), 1.18 KB, created by
embhd
on 2024-11-07 19:31:39 UTC
(
hide
)
Description:
nanoBSD: disable entropy caching and early hostuuid
Filename:
MIME Type:
Creator:
embhd
Created:
2024-11-07 19:31:39 UTC
Size:
1.18 KB
patch
obsolete
>From bd9099030d7c8a120c8acf41c1baaa679ee60574 Mon Sep 17 00:00:00 2001 >From: Michael <embhd@posteo.de> >Date: Thu, 7 Nov 2024 19:46:28 +0100 >Subject: [PATCH] nanoBSD: disable entropy caching and early hostuuid > >--- > tools/tools/nanobsd/defaults.sh | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > >diff --git a/tools/tools/nanobsd/defaults.sh b/tools/tools/nanobsd/defaults.sh >index 55314d7ef78..0aa4da85f33 100755 >--- a/tools/tools/nanobsd/defaults.sh >+++ b/tools/tools/nanobsd/defaults.sh >@@ -575,8 +575,13 @@ setup_nanobsd_etc ( ) ( > > # Make root filesystem R/O by default > echo "root_rw_mount=NO" >> etc/defaults/rc.conf >- # Disable entropy file, since / is read-only /var/db/entropy should be enough? >+ # Disable boot-time setting of hostuuid, since / is read-only >+ echo "hostuuid_load=NO" >> boot/defaults/loader.conf >+ # Disable caching of entropy, since / is read-only and /var is memory-only >+ echo "entropy_cache_load=NO" >> boot/defaults/loader.conf >+ echo "entropy_boot_file=NO" >> etc/defaults/rc.conf > echo "entropy_file=NO" >> etc/defaults/rc.conf >+ echo "entropy_dir=NO" >> etc/defaults/rc.conf > > [ -n "${NANO_NOPRIV_BUILD}" ] && chmod 444 etc/defaults/rc.conf > >-- >2.47.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 277601
:
249054
|
249541
|
254993
|
255014
| 255015