mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
random: update initskript for machines with low entropy
the script wait until crng is correct initialized before restore the random seed and make some disc io to work around low entropy at boot on some machines. Not really a fix but it should be better than reverting CVE-2018-1108 fixes from kernel. Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007-2016 IPFire Team <info@ipfire.org> #
|
||||
# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
@@ -16,7 +16,6 @@
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
|
||||
# #
|
||||
###############################################################################
|
||||
|
||||
###############################################################################
|
||||
# Definitions
|
||||
@@ -131,7 +130,7 @@ $(TARGET) :
|
||||
ln -sf ../init.d/unbound /etc/rc.d/rc3.d/S11unbound
|
||||
ln -sf ../init.d/unbound /etc/rc.d/rc6.d/K79unbound
|
||||
ln -sf ../init.d/random /etc/rc.d/rc0.d/K45random
|
||||
ln -sf ../init.d/random /etc/rc.d/rc3.d/S25random
|
||||
ln -sf ../init.d/random /etc/rc.d/rc3.d/S00random
|
||||
ln -sf ../init.d/random /etc/rc.d/rc6.d/K45random
|
||||
ln -sf ../../sysconfig/rc.local /etc/rc.d/rc3.d/S98rc.local
|
||||
ln -sf ../init.d/client175 /etc/rc.d/rc0.d/K34client175
|
||||
|
||||
Reference in New Issue
Block a user