ublue-os / ublue-update

Small maintenance/update program written in python intended for use in Universal Blue
Apache License 2.0
10 stars 17 forks source link

`loginctl` commands need to be changed since Fedora 41 (systemd v256) #132

Closed fiftydinar closed 1 month ago

fiftydinar commented 1 month ago

--output=json does not work anymore, just using -j is sufficient (however, this will break F40 & older, so some dynamic logic needs to be applied for this)

See this issue for more details: https://github.com/systemd/systemd/issues/34901

If this is not solved, notifications will stop working if configured

bsherman commented 1 month ago

The PR ( #133 ) is part of the solution, but it would break notifications on F40.

I think we need to check systemd version and use the correct option per version.

bsherman commented 1 month ago

Closed by #134