summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2019-12-16 13:14:36 +0100
committerJonathan Bauer2019-12-16 13:14:36 +0100
commit8a9b94c2d95c9aa5a2f0d6524029cb21ff4c44fb (patch)
tree7aaa10ce312dd389fd7330285f016f38f0d9854b
parent[run-virt] use busybox's timeout (diff)
downloadmltk-8a9b94c2d95c9aa5a2f0d6524029cb21ff4c44fb.tar.gz
mltk-8a9b94c2d95c9aa5a2f0d6524029cb21ff4c44fb.tar.xz
mltk-8a9b94c2d95c9aa5a2f0d6524029cb21ff4c44fb.zip
[hardware-stats] explicitely wait on run-virt-env
fixes race condition where /tmp/virt is not created, before hardware-stats tries to detect if it is mounted or not.
-rw-r--r--core/modules/hardware-stats/data/etc/systemd/system/hardware-stats.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/hardware-stats/data/etc/systemd/system/hardware-stats.service b/core/modules/hardware-stats/data/etc/systemd/system/hardware-stats.service
index 7309d0bb..f23f3384 100644
--- a/core/modules/hardware-stats/data/etc/systemd/system/hardware-stats.service
+++ b/core/modules/hardware-stats/data/etc/systemd/system/hardware-stats.service
@@ -1,6 +1,6 @@
[Unit]
Description=Gather statistics about this machine and send to boot server
-After=tmp.target mount-vm-store.service network.target
+After=tmp.target mount-vm-store.service network.target run-virt-env.service
Wants=tmp.target system-check.service
Before=system-check.service