systemd: actually enable qubes-random-seed service

QubesOS/qubes-issues#1311
This commit is contained in:
Marek Marczykowski-Górecki 2015-10-10 02:33:16 +02:00
parent 05292c0ac5
commit 7963fb91c7
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
3 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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