[systemd-devel] [RFC] Greenboot: A Generic Health Check Framework for systemd

Christian Glombek christian.glombek at rwth-aachen.de
Thu May 24 13:57:38 UTC 2018


Hello everyone!

My name is Christian Glombek and I am currently a student participant in
the Google Summer of Code program,
working on Fedora IoT & Project Atomic.

As part of this effort, I was tasked with creating a generic health check
framework using systemd.
We want to use it to determine system boot health (and then direct the
system what to do depending on the outcome).

So, here we go:
https://github.com/LorbusChris/greenboot

The greenboot.service currently binds to multi-user.target, however I can
see this becoming even more generic in the future,
where one could define a different target to bind to and test.

Each test is defined as a service unit placed in greenboot.service.wants or
greenboot.service.requires (non-critical and critical ones, respectively).
Note: I haven't created any real tests yet, just mock-ups.

This is my first stab at a trivial implementation and I'm sure I did not
consider all the implications.
I'd love to get your feedback on it!

If you're already a member of the Fedora community, you can also post
feedback here:
https://pagure.io/fedora-iot/issue/2
Also please feel free to create an issue on the GitHub project.

Thank you.

Cheers,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180524/a23e9d7f/attachment.html>


More information about the systemd-devel mailing list