Error: A start job is running for Load/Save Random Seed

Hi guys,

I get an error while booting.

A start job is running for Load/Save Random Seed (1min 36 / 9min 58s)

After 1-2 minutes the computer starts the normal.

Does anyone know whats that about?

For further informations you have to tell me what you need.

System:
Asrock fm2a78m pro4+ AMD Athlon X4 880K Silent 4x 4.00GHz So.FM2+ | 2GB HIS Radeon RX 460 iCooler | 275GB Crucial MX300 2.5" | 2x8GB Crucial Ballistix Sport DDR3-1600

what is the output of :

systemctl status systemd-random-seed.service -l and journalctl -b ?

if possible in a pastebin service :slight_smile:

1 Like

journalctl -b

not a copy paste :slight_smile:

Sry! :man_facepalming:

https://paste.ubuntu.com/p/YtdHpWPvJh/

[mak@mak-pc ~]$ systemctl status systemd-random-seed.service -l
● systemd-random-seed.service - Load/Save Random Seed
   Loaded: loaded (/usr/lib/systemd/system/systemd-random-seed.service; static;>
   Active: active (exited) since Sat 2019-09-14 20:50:39 CEST; 10min ago
     Docs: man:systemd-random-seed.service(8)
           man:random(4)
  Process: 227 ExecStart=/usr/lib/systemd/systemd-random-seed load (code=exited>
 Main PID: 227 (code=exited, status=0/SUCCESS)

Sep 14 20:49:05 mak-pc systemd-random-seed[227]: Kernel entropy pool is not ini>
Sep 14 20:50:39 mak-pc systemd[1]: Started Load/Save Random Seed.
Warning: Journal has been rotated since unit was started. Log output is incompl>
lines 1-11/11 (END)

do you haveged installed ?

systemctl status haveged ,

you can try install that mayby it improves the entropy probably not initiated properly now.

Not intentionally

[mak@mak-pc ~]$ systemctl status haveged
● haveged.service - Entropy Daemon based on the HAVEGE algorithm
   Loaded: loaded (/usr/lib/systemd/system/haveged.service; disabled; vendor pr>
   Active: inactive (dead)
     Docs: man:haveged(8)
           http://www.issihosts.com/haveged/

I havent had this issue until the last days. An update must have caused this.

What works is to install and enable haveged due to lack of entropy.

https://wiki.archlinux.org/index.php/Haveged
https://www.freedesktop.org/software/systemd/man/systemd-random-seed.service.html

2 Likes

Thx! I will look into that tomorrow morning. :slightly_smiling_face:

I have done a bunch of installs and have noticed this also. Just did an Arch install of Xfce and had it while i was trying to get lightdm working and the greeter session. Seems okay now that i have everything working. I must say though that it seems like Arch is removing more stuff as i have had to add packages to get certain things working. I installed yay and pamac and even had to install firefox as there was no browser and xdg-dirs etc.

2 Likes

I dont really understand the issue but like judd stated:

# sudo pacman -S haveged
# systemctl start haveged
# systemctl enable haveged

have solved the issue.

It even boots way faster than before. :+1:

1 Like

I’ve installed haveged, but systemd-random-seed.service is anyway on the top of this list:
systemd-analyze blame

what could I do to improve the boot time?
thanks :slight_smile: