[PATCH] Run spice-vdagentd without systemd-logind integration (#969405)

David Shea dshea at redhat.com
Mon Aug 5 18:45:41 UTC 2013


The system-wide spice guest agent, spice-vdagentd, normally uses
systemd-logind to determine which of the per-session spice-vdagent
instances it should be communicating with. On the non-live media, the X
session isn't registered with systemd-logind, so instead start
spice-vdagentd with -X to disable the systemd-logind integration and
serve instead to a single spice-vdagent.
---
 share/config_files/common/spice-vdagentd | 1 +
 share/runtime-postinstall.tmpl           | 1 +
 2 files changed, 2 insertions(+)
 create mode 100644 share/config_files/common/spice-vdagentd

diff --git a/share/config_files/common/spice-vdagentd b/share/config_files/common/spice-vdagentd
new file mode 100644
index 0000000..e70aa69
--- /dev/null
+++ b/share/config_files/common/spice-vdagentd
@@ -0,0 +1 @@
+SPICE_VDAGENTD_EXTRA_ARGS=-X
diff --git a/share/runtime-postinstall.tmpl b/share/runtime-postinstall.tmpl
index 94f113c..225a025 100644
--- a/share/runtime-postinstall.tmpl
+++ b/share/runtime-postinstall.tmpl
@@ -50,6 +50,7 @@ install ${configdir}/bash_history root/.bash_history
 install ${configdir}/profile root/.profile
 install ${configdir}/libuser.conf etc
 install ${configdir}/sysctl.conf etc/sysctl.d/anaconda.conf
+install ${configdir}/spice-vdagentd etc/sysconfig
 %if exists(root+"/etc/selinux/targeted"):
     install ${configdir}/selinux.config etc/selinux/config
 %endif
-- 
1.8.3.1



More information about the anaconda-patches mailing list