[systemd-devel] how to get sd_notify state/variables from dbus?

Lennart Poettering mzerqung at 0pointer.de
Tue Jan 12 10:39:33 PST 2016


On Tue, 12.01.16 17:55, Rick Richardson (rick.richardson at gmail.com) wrote:

> Etcd can certainly store config variables. We have our own versioned
> configuration database. However, I was hoping to use systemd as the
> canonical source for binding which versions of which configs a process
> launched with, since the information world be atomically associated with a
> service's ready notification.
> 
> Looking at the source, I was disappointed to learn that any variables that
> are not the "known" variables are dropped on the floor. The sd_notify man
> page should probably be updated accordingly.

I am fully open to extend the semantics of sd_notify(), but for that I
need to grok what you are actually trying to do.

How does the data look like that you want to push into systemd? If it
has clear generic semantics, we could add native support for it. So,
how precisely does the data look like?

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list