[systemd-devel] Systemd DBus API doc on wiki

Jacob Floyd cognifloyd+ml.systemd.devel at gmail.com
Wed Nov 29 00:10:41 UTC 2017


On Tue, Nov 28, 2017 at 3:57 PM, Jacob Floyd <
cognifloyd+ml.systemd.devel at gmail.com> wrote:

> 2) =============
>
> First property of Manager: https://www.freedesktop.org/
> wiki/Software/systemd/dbus/#properties
>
> *Version* encodes the version string of the running systemd instance.
>> Note that the version string is purely informational, it should not be
>> parsed, one may not assume the version to be formatted in any particular
>> way. We take the liberty to change the versioning scheme at any time and it
>> is not part of the API.
>
>
> And in the gdbus introspect examples:
>
>     properties:
>>       readonly s Version = 'systemd 205';
>
>
> So, the Version has, as promised, changed format. I just tested in 219
> (Centos 7) and 233 (Gentoo), and the dbus Version is only the version
> number: "219" or "233" respectively, unlike "systemd 205" in the example.
> Is version still considered internal API? Do you still discourage using
> the Version string via dbus?
>

It looks like the format of the Version property changed in v209 with
https://github.com/systemd/systemd/commit/718db96199eb307751264e4163555662c9a389fa#diff-b3e16bf39e5d7ab233077b9b1dafb095
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20171128/a21c060d/attachment.html>


More information about the systemd-devel mailing list