Closed grubberr closed 5 years ago
pystemd requires a version of systemd that provides sd_bus (meaning >= v221). We maintain a systemd backport for CentOS at https://github.com/facebookincubator/rpm-backports tracking the latest stable release, and community-provided prebuilt packages are available at https://copr.fedorainfracloud.org/coprs/jsynacek/systemd-backports-for-centos-7/
Yes as @davide125 mention, we use systemd/sd_bus.h
to communicate with systemd, that way our library retains compatibility with the version of systemd and dbus that you are using, (the logic is that if systemd works, then should pystemd). This library was introduced in systemd in v221 (the blog post is: http://0pointer.net/blog/the-new-sd-bus-api-of-systemd.html).
Most modern distribution have modern version of systemd (currently we are in v238), but centos7 ships with 219 that is kind of old.
if you want to play in centos7, @davide125 's comments are the way to go.
with that said, i think we should add a special note on the README, on why centos7 is not supported (after all it is the latest version of centos), and some suggestion on getting it to work.
thanks @grubberr for bringing this to our attention.
This can be closed, and we should probably should merge #11 too…
Hello,
I just tried to install pystemd on centos 7.5.1804 but it failed because of
all systemd packages installed
is it not supported on purpose ? Thanks