Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F132904253
D3933.id9933.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
447 B
Referenced Files
None
Subscribers
None
D3933.id9933.diff
View Options
Index: usr.sbin/bsdinstall/scripts/entropy
===================================================================
--- usr.sbin/bsdinstall/scripts/entropy
+++ usr.sbin/bsdinstall/scripts/entropy
@@ -26,4 +26,8 @@
#
# $FreeBSD$
-dd if=/dev/random of=$BSDINSTALL_CHROOT/entropy bs=4096 count=1
+umask 077
+for i in "$BSDINSTALL_CHROOT/entropy" "$BSDINSTALL_CHROOT/boot/entropy"; do
+ dd if=/dev/random of="$i" bs=4096 count=1
+ chown 0:0 "$i"
+done
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 22, 1:12 AM (9 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24035498
Default Alt Text
D3933.id9933.diff (447 B)
Attached To
Mode
D3933: Add /boot/entropy at install time, and be more careful with permissions
Attached
Detach File
Event Timeline
Log In to Comment