All of lore.kernel.org
 help / color / mirror / Atom feed
* scoping daemon-helper replacement effort
@ 2016-07-29 16:40 Ken Dreyer
  2016-07-29 16:55 ` Josh Durgin
  0 siblings, 1 reply; 7+ messages in thread
From: Ken Dreyer @ 2016-07-29 16:40 UTC (permalink / raw)
  To: ceph-devel

daemon-helper predates a lot of things in Ceph, and the further we go
into systemd-land with things like unprivilged daemons, SELinux, and
cgroups, the further Teuthology diverges from what our users do. To
remedy this, I want to retire daemon-helper and have Teuthology tests
use the normal init system, particularly now that our main supported
distros are unified around systemd.

From what I understand, we use daemon-helper in Teuthology to:

  1) start a daemon and eventually stop it with either SIGTERM or
SIGKILL, depending on whether the Teuthology task has enabled the
coverage or valgrind options,

  2) send data via STDIN

  3) print some messages when the child crashes

I think we could run the services using the systemd unit files and
still accomplish #1 and #3.

For #2 (communicating to the daemons via STDIN), how could we
accomplish this? What sort of things are we writing to the daemons'
STDIN? I'm having trouble finding examples in ceph-qa-suite.git.

- Ken

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

end of thread, other threads:[~2016-07-29 18:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-29 16:40 scoping daemon-helper replacement effort Ken Dreyer
2016-07-29 16:55 ` Josh Durgin
2016-07-29 16:57   ` Ken Dreyer
2016-07-29 17:22   ` Vasu Kulkarni
2016-07-29 17:25     ` Vasu Kulkarni
2016-07-29 18:39     ` Ken Dreyer
2016-07-29 18:40   ` Gregory Farnum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.