Skip to content

Commit

Permalink
do not stop haveged process (bsc#1140171)
Browse files Browse the repository at this point in the history
It's needed to avoid security relevant processes to lock up due to
insufficient randomness.
  • Loading branch information
wfeldt committed Sep 25, 2019
1 parent c36ec44 commit a04b9dd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/lib/installation/clients/umount_finish.rb
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ def preserve_randomness_state

Builtins.y2milestone("Saving the current randomness state...")

service_bin = "/usr/sbin/haveged"
random_path = "/dev/urandom"
store_to = Builtins.sformat(
"%1/var/lib/misc/random-seed",
Expand Down Expand Up @@ -377,10 +376,6 @@ def preserve_randomness_state
@ret = false
end

# stop the random number generator service
Builtins.y2milestone("Stopping %1 service", service_bin)
LocalCommand(Builtins.sformat("killproc -TERM %1", service_bin))

nil
end

Expand Down

0 comments on commit a04b9dd

Please sign in to comment.