xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] tools/systemd fixes
@ 2014-10-24 14:17 Olaf Hering
  2014-10-24 14:17 ` [PATCH 1/7] tools/hotplug: fix conditions in systemd service files for dom0 Olaf Hering
                   ` (7 more replies)
  0 siblings, 8 replies; 17+ messages in thread
From: Olaf Hering @ 2014-10-24 14:17 UTC (permalink / raw)
  To: xen-devel; +Cc: Olaf Hering, M A Young

This series combines all outstanding changes for systemd service files.
Right now the existing service files will work only with older systemd
version (208?) which incorrectly set "ConditionVirtualization=xen" to
true in a dom0. There is no support for detecting dom0 in systemd. The
proper way to detect a dom0 is to check for control_d in
/proc/xen/capabilities.

The content of the patches is unchanged compared to what was sent out to
the list already. A few patches are acked by IanC.

New in this series is an update of the dependencies between services. As
Anthony correctly pointed out its better to depend on xenstore.socket
instead of xenstored.service. 

The last patch is a small helper to visualize dependencies. It made it
easier for me to see whats going on, so its included here as well.

Olaf

Olaf Hering (4):
  tools/hotplug: fix conditions in systemd service files for dom0
  tools/hotplug: systemd xenstored dependencies
  tools/hotplug: every systemd service depends on proc-xen.mount
  tools/hotplug: add helper script to visualize systemd dependencies

Wei Liu (3):
  tools/hotplug: fix clean target in systemd Makefile
  tools/hotplug: add systemd xen-init-dom0 service
  tools/hotplug: xendomains now depends on xen-init-dom0

 tools/configure.ac                                 |  1 +
 tools/hotplug/Linux/systemd/Makefile               |  2 ++
 tools/hotplug/Linux/systemd/proc-xen.mount.in      |  3 ++-
 .../Linux/systemd/show_service_dependencies.sh     | 31 ++++++++++++++++++++++
 .../Linux/systemd/var-lib-xenstored.mount.in       |  4 ++-
 .../hotplug/Linux/systemd/xen-init-dom0.service.in | 14 ++++++++++
 .../systemd/xen-qemu-dom0-disk-backend.service.in  |  6 ++---
 .../hotplug/Linux/systemd/xen-watchdog.service.in  |  2 +-
 tools/hotplug/Linux/systemd/xenconsoled.service.in |  6 ++---
 tools/hotplug/Linux/systemd/xendomains.service.in  |  6 ++---
 tools/hotplug/Linux/systemd/xenstored.service.in   |  4 +--
 tools/hotplug/Linux/systemd/xenstored.socket.in    |  4 ++-
 tools/hotplug/Linux/systemd/xenstored_ro.socket.in |  4 ++-
 13 files changed, 70 insertions(+), 17 deletions(-)
 create mode 100644 tools/hotplug/Linux/systemd/show_service_dependencies.sh
 create mode 100644 tools/hotplug/Linux/systemd/xen-init-dom0.service.in

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2014-10-27 10:45 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-24 14:17 [PATCH 0/7] tools/systemd fixes Olaf Hering
2014-10-24 14:17 ` [PATCH 1/7] tools/hotplug: fix conditions in systemd service files for dom0 Olaf Hering
2014-10-24 14:56   ` Wei Liu
2014-10-24 14:17 ` [PATCH 2/7] tools/hotplug: fix clean target in systemd Makefile Olaf Hering
2014-10-24 14:17 ` [PATCH 3/7] tools/hotplug: add systemd xen-init-dom0 service Olaf Hering
2014-10-24 14:32   ` Wei Liu
2014-10-24 14:40     ` Olaf Hering
2014-10-24 14:48       ` Wei Liu
2014-10-24 14:17 ` [PATCH 4/7] tools/hotplug: xendomains now depends on xen-init-dom0 Olaf Hering
2014-10-24 14:17 ` [PATCH 5/7] tools/hotplug: systemd xenstored dependencies Olaf Hering
2014-10-24 14:56   ` Wei Liu
2014-10-24 14:17 ` [PATCH 6/7] tools/hotplug: every systemd service depends on proc-xen.mount Olaf Hering
2014-10-24 14:57   ` Wei Liu
2014-10-24 14:17 ` [PATCH 7/7] tools/hotplug: add helper script to visualize systemd dependencies Olaf Hering
2014-10-24 15:00   ` Wei Liu
2014-10-24 18:19 ` [PATCH 0/7] tools/systemd fixes Konrad Rzeszutek Wilk
2014-10-27 10:45   ` Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).