[systemd-devel] Is /run/systemd/journal/stdout setup protocol stable?

Lennart Poettering mzerqung at 0pointer.de
Thu Aug 22 13:10:50 UTC 2024


On Fr, 19.07.24 16:11, Carl Lei (me at xecycle.info) wrote:

> Hi all,
>
> Short version of my question is, my program connects to
> /run/systemd/journal/stdout and dup2 to stderr; this socket needs that
> 7-line preamble to actually work.  But this seems a hidden internal
> thing, so I wonder will this be kept stable?  And, does stdout and
> stderr have to be different connections?

They do not.

We can certainly make the protocol stable (or at least a subset of
it), i.e. prep a patch that adds it to the api guarantee document
linked elsewhere in the thread.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list