Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P polkit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 121
    • Issues 121
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 20
    • Merge requests 20
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • polkit
  • polkit
  • Merge requests
  • !95

Closed
Created Aug 27, 2021 by Benjamin Berg@benzea
  • Report abuse
Report abuse

polkitd: Only exit successfully if we owned the bus name

  • Overview 2
  • Commits 1
  • Pipelines 1
  • Changes 1

It does not make sense to exit successfully just because the service entered the mainloop. If e.g. the system bus cannot be reached, then polkitd shouldn't return a success state.

This does usually not matter. However, it caused some headache for me within python-dbusmock, where my service would wait for polkitd activation which would never happen. But, only if the test was run as root.


See https://github.com/martinpitt/python-dbusmock/pull/84

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: master