Date: Mon, 7 Dec 2015 04:02:43 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r291916 - head/tools/tools/nanobsd Message-ID: <201512070402.tB742h9I082097@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Mon Dec 7 04:02:42 2015 New Revision: 291916 URL: https://svnweb.freebsd.org/changeset/base/291916 Log: Disable /entropy by default. /var/db/entropy should be enough. # This eliminates the warning message at boot, but more work may be # needed. Modified: head/tools/tools/nanobsd/defaults.sh (contents, props changed) Modified: head/tools/tools/nanobsd/defaults.sh ============================================================================== --- head/tools/tools/nanobsd/defaults.sh Mon Dec 7 04:02:34 2015 (r291915) +++ head/tools/tools/nanobsd/defaults.sh Mon Dec 7 04:02:42 2015 (r291916) @@ -489,9 +489,13 @@ setup_nanobsd_etc ( ) ( # create diskless marker file touch etc/diskless - # Make root filesystem R/O by default [ -n "${NANO_NOPRIV_BUILD}" ] && chmod 666 etc/defaults/rc.conf + + # 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? + echo "entropy_file=NO" >> etc/defaults/rc.conf + [ -n "${NANO_NOPRIV_BUILD}" ] && chmod 444 etc/defaults/rc.conf # save config file for scripts
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512070402.tB742h9I082097>