Haveged daemon


MvL

Recommended Posts

I think random number generators are pretty standard in all *nix operating systems.  I would guess it's not actually an Unraid specific thing, rather a linux specific thing.  Someone else can chime in what they're actually used for, but suspect google will tell you that too.  I think crypto stuff like ssh and ssl use it (or similar) for a start but someone may correct me.

Link to comment
  • 1 year later...

haveged is loaded through Unraid in "/etc/rc.d/rc.M":

# Start the haveged entropy daemon:
if [ -x /etc/rc.d/rc.haveged ]; then
  /etc/rc.d/rc.haveged start
fi

If I download a file haveged produces load:

1169795362_2020-10-1701_31_23.png.8f6786ef5c7d06254cd64faf2b461ffb.png

 

I stopped the service as follows:

/etc/rc.d/rc.haveged stop
Stopping haveged.

I found no impact. The server runs as usual. So same question. Why is it needed?

 

EDIT: Regarding this blog post haveged becomes active if the entropy of haveged is stronger than the one of /dev/random (linux default). So it adds a little bit more strength to the smb encryption while transfering the file. Conclusion: Produces load, I don't need it. Will be disabled by default through the Go File:

 

# -------------------------------------------------
# disable haveged as we trust /dev/random
# https://forums.unraid.net/topic/79616-haveged-daemon/?tab=comments#comment-903452
# -------------------------------------------------
/etc/rc.d/rc.haveged stop

 

Edited by mgutt
  • Like 1
Link to comment
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.