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 access denied from psutil on macOS #1985

Merged
merged 2 commits into from
Aug 2, 2024
Merged

Commits on Aug 2, 2024

  1. dispatcher: fix AccessDenied on process lookup

    On macOS dispatcher while trying to go through process list gets stuck
    on some of the system processes like launchd, logd, systemstats, etc.
    and quites unexpectedly with PermissionError and psutil.AccessDenied
    exceptions.
    
    Fixes: https://tracker.ceph.com/issues/67313
    
    Signed-off-by: Kyr Shatskyy <[email protected]>
    Kyr Shatskyy committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    da7aef6 View commit details
    Browse the repository at this point in the history
  2. kill: handle AccessDenied exception

    Fix unhandled exception psutilAccessDenied in process_matches_run().
    
    Signed-off-by: Kyr Shatskyy <[email protected]>
    Kyr Shatskyy committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    d218c61 View commit details
    Browse the repository at this point in the history