A generic event loop abstraction has been added as well

Jun 20, 2015 19:53 GMT  ·  By

On June 19, Lennart Poettering announced the immediate availability for download of version 221 of his controversial systemd init system software that it's adopted by more and more GNU/Linux operating systems.

According to the release notes, systemd 221 is here to add the sd-event.h and sd-bus.h APIs (Application Programming Interfaces) to the official interface of libsystemd.so and declare them stable. Users are being informed by Lennart Poettering that the sd-bus API should be considered an alternative to the D-Bus client library, supporting both kdbus and D-Bus as transport backend while being very efficient and easy to use.

Moreover, the sd-event API aims to be a generic event loop abstraction built around the Linux epoll functionalit, but with more useful features like efficient timer handling and event prioritization. kdbus is now built-in into systemd, but users are informed that they can disable it using the "kdbus=0" kernel command-line setting or adding the "--disable-kdbus" argument when compiling systemd.

"Heya! It's primarily a bugfix release, but we also make sd-bus.h and sd-event.h public. (A blog story on sd-bus and how to use it will follow shortly.)," says Lennart Poettering. "Reminder: Note again that the git repository and bug tracking moved to github with this release."

networkd, systemd-logind, and systemd-cgtop received new features

Furthermore, the ability to expose new boolean properties that report if logind thinks the system is connected to a docking station or not has been added in the systemd-logind bus API, the documentation of the libudev API has been converted to man pages from gtkdoc, and a brand-new "--raw" option that can be used to generate machine parsable output has been added to the systemd-cgtop tool.

systemd 221 removes gudev from its tree and now requires util-linux 2.26, the "--enable-chkconfig" argument has been removed, and the "kernel" setting has been added to the networkd's IPForwarding= .network file setting to block the default state of the IP forwarding sysctl from the Linux kernel. Download systemd 221 right now from Softpedia.