On Tue, Nov 28, 2017 at 3:57 PM, Jacob Floyd <
[email protected]> 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
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to