diff --git a/rpm_spec/core-vm.spec b/rpm_spec/core-vm.spec index 93c245b..ee8e75c 100644 --- a/rpm_spec/core-vm.spec +++ b/rpm_spec/core-vm.spec @@ -493,6 +493,7 @@ The Qubes core startup configuration for SystemD init. /lib/systemd/system/qubes-update-check.timer /lib/systemd/system/qubes-updates-proxy.service /lib/systemd/system/qubes-qrexec-agent.service +/lib/systemd/system/qubes-random-seed.service /lib/systemd/system-preset/75-qubes-vm.preset /lib/modules-load.d/qubes-core.conf /lib/modules-load.d/qubes-misc.conf @@ -503,6 +504,7 @@ The Qubes core startup configuration for SystemD init. /usr/lib/qubes/init/misc-post.sh /usr/lib/qubes/init/misc-post-stop.sh /usr/lib/qubes/init/mount-home.sh +/usr/lib/qubes/init/qubes-random-seed.sh /usr/lib/qubes/init/qubes-sysinit.sh /lib/systemd/system/chronyd.service.d/30_qubes.conf /lib/systemd/system/crond.service.d/30_qubes.conf @@ -525,6 +527,7 @@ else services="qubes-dvm qubes-misc-post qubes-firewall qubes-mount-home" services="$services qubes-netwatcher qubes-network qubes-sysinit" services="$services qubes-iptables qubes-updates-proxy qubes-qrexec-agent" + services="$services qubes-random-seed" for srv in $services; do /bin/systemctl --no-reload preset $srv.service done diff --git a/vm-systemd/75-qubes-vm.preset b/vm-systemd/75-qubes-vm.preset index bbf812b..a19c977 100644 --- a/vm-systemd/75-qubes-vm.preset +++ b/vm-systemd/75-qubes-vm.preset @@ -71,5 +71,6 @@ enable qubes-firewall.service enable qubes-netwatcher.service enable qubes-meminfo-writer.service enable qubes-iptables.service +enable qubes-random-seed.service enable haveged.service enable chronyd.service diff --git a/vm-systemd/qubes-random-seed.service b/vm-systemd/qubes-random-seed.service index 6db49b0..140f6fb 100644 --- a/vm-systemd/qubes-random-seed.service +++ b/vm-systemd/qubes-random-seed.service @@ -1,10 +1,12 @@ [Unit] Description=Qubes Random Seed DefaultDependencies=no -RequiresMountsFor=/proc/xen/ After=qubes-db.service [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/lib/qubes/init/qubes-random-seed.sh + +[Install] +WantedBy=sysinit.target