Change in osmo-gsm-tester[master]: processes: Fix kill of processes run under sudo

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Fri Apr 5 18:12:20 UTC 2019


Pau Espin Pedrol has uploaded a new patch set (#2). ( https://gerrit.osmocom.org/13532 )

Change subject: processes: Fix kill of processes run under sudo
......................................................................

processes: Fix kill of processes run under sudo

sudo drops forwarding of signals sent by processes of the same
process group, which means by default will drop signals from
parent and children processes. By moving it to another group, we
will later be able to kill it.
Note: sudo documentation is wrong, since it states it only drops
signals from children.

See following link for more information:
https://stackoverflow.com/questions/34337840/cant-terminate-a-sudo-process-created-with-python-in-ubuntu-15-10

Change-Id: I25990234aaa496c501ff45ad7f7fd549d6f188da
---
M src/osmo_gsm_tester/process.py
1 file changed, 11 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/32/13532/2
-- 
To view, visit https://gerrit.osmocom.org/13532
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I25990234aaa496c501ff45ad7f7fd549d6f188da
Gerrit-Change-Number: 13532
Gerrit-PatchSet: 2
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190405/d9f82fbb/attachment.htm>


More information about the gerrit-log mailing list