[Buildroot] [PATCH] systemd: add option to enable systemd-journal-remote

Jérémy ROSEN jeremy.rosen at smile.fr
Thu Nov 28 08:08:19 UTC 2019


Hey all,
Ok, as usuall some background knowledge

systemd provides three binaries to deal with sending journal data over the
network

* systemd-journald-gateway : a tiny HTTP server that provides the logs
* systemd-journald-upload : a process to run periodically to push the logs
to a remote HTTP server
* systemd-journald-remote : aprocess to run on the remorse computer (not on
the target) to receive data and/or to fetch data from the target

All three options are selected together with -Dremote=true (which is the
default). It would be nice to be able to select them individually, but
upstream does not provide that option.

gatewayd is a bit more tricky because it will detect if libmicrohttpd is
available and only builds if it is.

So, as a fix I would make BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY depend
on BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE
Also, fix default values to match previous behaviour

Cheers
Jeremy


Le mer. 27 nov. 2019 à 21:46, Thomas Petazzoni <thomas.petazzoni at bootlin.com>
a écrit :

> Hello,
>
> +Jeremy Rosen in Cc, for the systemd expertise.
>
> On Thu, 13 Jun 2019 11:05:27 +0800
> Yi Zheng <goodmenzy at gmail.com> wrote:
>
> >     systemd-journal-remote was added in systemd v211, so add a new option
> >     to enable or disable it.
> >
> >     Signed-off-by: Yi Zheng <goodmenzy at gmail.com>
>
> Unfortunately, this commit seems to break things for some users. We
> have a bug report at https://bugs.busybox.net/show_bug.cgi?id=12301.
> Could you have a look ?
>
> Jérémy, what do you think ?
>
> Thanks,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>


-- 
[image: SMILE]  <http://www.smile.eu/>

20 rue des Jardins
92600 Asnières-sur-Seine
*Jérémy ROSEN*
Architecte technique

[image: email] jeremy.rosen at smile.fr
[image: phone]  +33 6 88 25 87 42
[image: url] http://www.smile.eu

[image: Twitter] <https://twitter.com/GroupeSmile> [image: Facebook]
<https://www.facebook.com/smileopensource> [image: LinkedIn]
<https://www.linkedin.com/company/smile> [image: Github]
<https://github.com/Smile-SA>

[image: Découvrez l’univers Smile, rendez-vous sur smile.eu]
<https://www.smile.eu/fr/publications/livres-blancs/yocto?utm_source=signature&utm_medium=email&utm_campaign=signature>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20191128/ff090d9d/attachment.html>


More information about the buildroot mailing list