Bug 471894 - Offline Updates Does Not Check Polkit Correctly On Remote Systems
Summary: Offline Updates Does Not Check Polkit Correctly On Remote Systems
Status: RESOLVED UPSTREAM
Alias: None
Product: Discover
Classification: Applications
Component: Updates (offline) (show other bugs)
Version: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-03 05:18 UTC by Noorez
Modified: 2023-07-05 22:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Noorez 2023-07-03 05:18:32 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  Access system remotely via xrdp
2.  Set pokit policy to AUTH_ADMIN when refreshing system repositories, triggering offline updates and rebooting system
3.  Perform system update via discover app

OBSERVED RESULT

After updates are downloaded, the screen to initiate a reboot does not appear correctly and instead just refreshes the available update screen

EXPECTED RESULT

Screen to initiate a reboot and subsequent prompt from polkit to authenticate should appear if the policy allows for it

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Noorez 2023-07-04 18:25:33 UTC
This issue appears to extend to reboot and shutdown as well. Instead of the expected authentication prompt, the screen simply goes blank and does not provide any other feedback.
Comment 2 Aleix Pol 2023-07-05 22:46:06 UTC
Please report to PackageKit, Discover doesn't do any polkit calls.
https://github.com/PackageKit/PackageKit/issues/