Skip to content
Snippets Groups Projects

More polkit-parsing.sh cleanup

Merged Dylan Aïssi requested to merge wip/daissi/fix-polkit-parsing into apertis/v2025pre
  • polkit-parsing.sh:
    • Adjust system bus socket to /run/dbus/system_bus_socket

      • In Debian system bus socket moved from /var/run/dbus/system_bus_socket to /run/dbus/system_bus_socket, a symlink exists from /var/run/... to /run/... but let's use the real path.
    • Give more time to polkitd to be ready

      • For unknown reasons (race conditions?), pkaction randomly fails with: "Error enumerating actions: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying" So, to mitigate this issue give it some more time to be ready, although this should be the aim of "gdbus wait"
    • Improve cleanup() to catch unexpected failures and to ignore expected one since polkitd should already be killed in the script body.

    • Drop 'set -x' in cleanup() to reduce noise in the log

Edited by Dylan Aïssi

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading