ejjoman / harbour-sailfishreboot

A simple application for SailfishOS that allows the user to reboot or shutdown it's device.
GNU General Public License v3.0
6 stars 2 forks source link

App unfunctional since Sailfish OS 4.0.1 - missing Sailjail privileged permissions #5

Closed spodermenpls closed 3 months ago

spodermenpls commented 3 months ago

Ever since Sailfish OS 4.0.1 was released in February 2021, the core functions of "Sailfish Reboot", triggering shutdowns and reboots from the app menu, have stopped working. I've consultated @Allstar12345 and @dcaliste, apparently the sole reason for this breakage was the introduction of the "Sailjail" permission system with the aforementioned Sailfish 4.0.1, with the used DBus methods requiring "privileged" permissions since then. Mr. Caliste was able to get it working again by simply adding

[X-Sailjail]
Permissions=Privileged

to the end of the harbour-sailfishreboot.desktop file.

@ejjoman I've seen that you apparently have stopped developing for Sailfish many years ago, but it nevertheless would be great if you could make an exception and push this small update to the Harbour, so that the already existing userbase of (according to Harbour) still 10,000+ devices (albeit a good portion of those probably being Jolla Phones on SF 3.4.0, where the app still works) could get a working "Reboot" app again, without having to revert to a fork on OpenRepos or SailfishOS:Chum first (which would also mean avoidable work for a volunteering developer, who would have to set up such a fork).

spodermenpls commented 3 months ago

Well, unfortunately my original thought (updating the Harbour version) is impossible, due to the Harbour not allowing apps to run with the needed privileged permissions (https://harbour.jolla.com/faq#Dbus), so the app has to be migrated to OpenRepos or Chum in any case. Mr. Allstar already agreed to fork and host it on his already existing OpenRepos repo, so no further action from your side @ejjoman is needed, however the option to migrate it to your own OpenRepos account later, if you want, is obviously still there.