Systemd-Resolved Compatibility – Using Different Versions

resolvesystemd

Is it possible to compile only systemd-resolved from the large systemd sources (without all the rest of systemd) to attempt identify a fix to backport? Can a new systemd-resolved coexist with the rest of a system that is based on an oldish systemd?

Best Answer

No, only building and upgrading one binary of systemd is not supportable. As in, people you might ask for help will have difficulty reproducing what you are doing.

resolved, like the dozes of binaries that compose this thing, links to some systemd shared code. This is not likely to remain binary compatible across an arbitrary number of releases. It might work, but personally I'm not willing to untangle systemd's internal dependencies to prove it.

Instead, try upgrading all of systemd. For a start, try reproducing the problem on a distro with a relatively new version. In Red Hat land, as of 2021 this could be Fedora 35 or RHEL 9. Once there is evidence the newer distro improves things, then start isolating relevant changes. Or start an OS upgrade project.

Related Topic