For systemd-journal-remote to work, libmicrohttpd has to be built with epoll enabled.
(In reply to Timo Rothenpieler from comment #0) > For systemd-journal-remote to work, libmicrohttpd has to be built with epoll > enabled. How have you come to this conclusion?
Well, it didn't work with a somewhat arcane "Failed to register socket (fd:3): Invalid argument" the moment something actually connects to the socket and systemd activates the service. Some googling brought me to this: https://github.com/coreos/coreos-overlay/pull/1587 Rebuilding libmicrohttpd with epoll enabled indeed fixed the issue.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b3c455f9039cdd30d28c5937de7f5d73a63e3dc commit 2b3c455f9039cdd30d28c5937de7f5d73a63e3dc Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2019-07-10 18:19:24 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2019-07-10 18:20:55 +0000 sys-apps/systemd: depend on net-libs/libmicrohttpd[epoll] Closes: https://bugs.gentoo.org/678756 Package-Manager: Portage-2.3.68, Repoman-2.3.16_p2 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-apps/systemd/systemd-242-r6.ebuild | 2 +- sys-apps/systemd/systemd-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
*** Bug 601218 has been marked as a duplicate of this bug. ***