pub(crate) fn systemd_version() -> Result<u32>
Query the major version of systemd via systemctl --version, caching the result so it can be shared across callers (bootctl, systemd-repart, etc.).
systemctl --version