Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Allow kurad to shutdown and reboot the system #5252

Merged

Conversation

nicolatimeus
Copy link
Contributor

Note: We are using the Conventional Commits convention for our pull request titles. Please take a look at the PR title format document for the supported types and scopes.

Brief description of the PR. [e.g. Added null check on object to avoid NullPointerException]

Uptates polkit rules to allow kurad to perform the following actions:

  • org.freedesktop.login1.reboot-multiple-sessions
  • org.freedesktop.login1.suspend-multiple-sessions
  • org.freedesktop.login1.power-off-multiple-sessions

allowing to suspend, reboot and poweroff the device through systemd even if there are other users logged in.

Copy link
Contributor

@salvatore-coppola salvatore-coppola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully tested on Raspberry PI4B+ with RaspiOS 64bit

@MMaiero MMaiero merged commit 969e1ca into eclipse-kura:develop May 30, 2024
5 checks passed
github-actions bot pushed a commit that referenced this pull request May 30, 2024
Signed-off-by: Nicola Timeus <[email protected]>
(cherry picked from commit 969e1ca)
MMaiero pushed a commit that referenced this pull request May 31, 2024
…5.5.0] (#5254)

fix: Allow kurad to shutdown and reboot the system (#5252)

Signed-off-by: Nicola Timeus <[email protected]>
(cherry picked from commit 969e1ca)

Co-authored-by: nicolatimeus <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants