commit | 3a479c212dfdd51c9cb031a9a09138d24ab1ca97 | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Fri Apr 05 19:47:40 2019 +0200 |
committer | Pau Espin Pedrol <pespin@sysmocom.de> | Fri Apr 05 20:12:12 2019 +0200 |
tree | b66987a20c51633fe2ef6328000b5091af19da48 | |
parent | a353457fd208ae1be449f0f067c3b1c0dd1132ec [diff] |
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