tuned icon indicating copy to clipboard operation
tuned copied to clipboard

Advertise p-p-d compatibility D-Bus interface under UPower namespace

Open jpetso opened this issue 1 year ago • 3 comments

UPower starting with release 0.20 is advertising itself on D-Bus as 'org.freedesktop.UPower.PowerProfiles' following its move into the UPower umbrella. The previous 'net.hadess.PowerProfiles' interface is still kept for compatibility reasons, but might be removed in the future - e.g. openSUSE tried to remove it immediately, but couldn't.

I'm just a bypasser looking out for compatibility concerns. If I'm reading the tuned-ppd source correctly, the compatibility interface is advertised under the old name only. If the new name isn't advertised, users of the interface will stick to the old one and there isn't any upgrade path, despite the upstream project endorsing the new interface within UPower.

So it would be nice if tuned-ppd also advertised both, or if in doubt, perhaps only the current one instead of the previous one.

jpetso avatar Sep 02 '24 15:09 jpetso

This is actually going to need to be a requirement for tuned to replace ppd in Fedora 41...

Conan-Kudo avatar Sep 02 '24 16:09 Conan-Kudo

Good catch, @zacikpa could you handle it?

yarda avatar Sep 02 '24 16:09 yarda

Sure, will do.

zacikpa avatar Sep 02 '24 17:09 zacikpa

This will also affect users updating to KDE Plasma 6.3 (expected final release next February 11)

https://invent.kde.org/plasma/powerdevil/-/commit/223b927a8351f35d7c2c2a70ea6d78568051ba3c https://bugs.kde.org/show_bug.cgi?id=498590

iyanmv avatar Jan 13 '25 21:01 iyanmv