diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-10-12 04:00:49 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-10-12 04:00:49 +0000 |
| commit | c22f60e6e55f1bf300dd76d2222a93911f3b2bb2 (patch) | |
| tree | ef665e7018377f53612ac2751dcaea35a1c587b6 /xenstore-launch.patch | |
| parent | 39a4763249cd6289e5019acfe0c98dbb169f5f2e (diff) | |
automatic import of xenopeneuler22.03_LTS
Diffstat (limited to 'xenstore-launch.patch')
| -rw-r--r-- | xenstore-launch.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/xenstore-launch.patch b/xenstore-launch.patch new file mode 100644 index 0000000..03e2bce --- /dev/null +++ b/xenstore-launch.patch @@ -0,0 +1,19 @@ +References: bsc#1131811 + +When the xenstored service is started it exits successfully but systemd seems to +lose track of the service and reports an error causing other xen services to fail. +This patch is a workaround giving systemd time to acknowledge a succesful start +of xenstored. The real fix is believed to be needed in systemd. + +diff --git a/tools/hotplug/Linux/launch-xenstore.in b/tools/hotplug/Linux/launch-xenstore.in +index 991dec8d25..eb3d7c964c 100644 +--- a/tools/hotplug/Linux/launch-xenstore.in ++++ b/tools/hotplug/Linux/launch-xenstore.in +@@ -79,6 +79,7 @@ test -f @CONFIG_DIR@/@CONFIG_LEAF_DIR@/xencommons && . @CONFIG_DIR@/@CONFIG_LEAF + echo -n Starting $XENSTORE_DOMAIN_KERNEL... + ${LIBEXEC_BIN}/init-xenstore-domain $XENSTORE_DOMAIN_ARGS || exit 1 + systemd-notify --ready 2>/dev/null ++ systemd-notify --booted 2>/dev/null && sleep 60 + + exit 0 + } |
