Re: [BUG] iolog terminate process sent to background
"Todd C. Miller" <[email protected]> Tue, 21 Nov 2017 10:34:57 -0700
| Newsgroups | gmane.comp.tools.sudo.devel |
|---|---|
| Message-ID | <[email protected]> |
When I/O logging is enabled, if the process run by sudo exits, the
pseudo-tty will be closed. As a result of this, any process with
the tty open will receive SIGHUP.
In your example, when the iperf-daemon.sh scripts exits, iperf3
receives SIGHUP and exits. If you run iperf3 like this:
iperf3 -s </dev/null >/dev/null 2>&1 &
or better yet:
iperf3 -s -D
you will not have this problem.
- todd
____________________________________________________________
sudo-workers mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-workers