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

stdin-killer: do not setpgrp if already leader #1881

Merged
merged 1 commit into from
Aug 4, 2023
Merged

Commits on Aug 4, 2023

  1. stdin-killer: do not setpgrp if already leader

    Fixes failure like:
    
        2023-08-03T19:40:10.942 INFO:teuthology.orchestra.run.smithi100.stderr:Traceback (most recent call last):
        2023-08-03T19:40:10.942 INFO:teuthology.orchestra.run.smithi100.stderr:  File "/usr/bin/stdin-killer", line 213, in <module>
        2023-08-03T19:40:10.943 INFO:teuthology.orchestra.run.smithi100.stderr:    os.setpgrp()
        2023-08-03T19:40:10.943 INFO:teuthology.orchestra.run.smithi100.stderr:PermissionError: [Errno 1] Operation not permitted
    
    Signed-off-by: Patrick Donnelly <[email protected]>
    batrick committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    b5bd9a5 View commit details
    Browse the repository at this point in the history