[RFC PATCH 0/6] Allow systemd activation for debuginfod

Victor Westerhuis victor@westerhu.is
Sun Mar 7 12:49:52 GMT 2021


As a developer I have a few self-built Debian packages in a small repo
on my own laptop. I like having debuginfod running when debugging them,
but it does not have to be running all the time.

This patch series is a first try at integrating systemd socket 
activation in debuginfod. I've tried to split the series into different
ways of integration. I'm not sure if watchdog support is really useful,
since the main loop doesn't do any work. If it isn't, I can drop it.

Victor Westerhuis (6):
  Find and link libsystemd
  Allow socket activation by systemd
  Notify systemd when ready and stopping
  Use cache directory from systemd
  Report error exit reason to systemd
  Support systemd watchdog

 config/debuginfod.service |   3 +-
 configure.ac              |  12 ++
 debuginfod/Makefile.am    |   7 +
 debuginfod/debuginfod.cxx | 267 +++++++++++++++++++++++++++++---------
 4 files changed, 226 insertions(+), 63 deletions(-)

-- 
2.30.1


More information about the Elfutils-devel mailing list