Re: [BUG] iolog terminate process sent to background

Daniele Palumbo <[email protected]> Tue, 21 Nov 2017 21:13:57 +0100
Newsgroups gmane.comp.tools.sudo.devel
Message-ID <[email protected]>
Il giorno 21 nov 2017, alle ore 18:34, Todd C. Miller <[email protected]> ha scritto:
> 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:

to undestand better, if the process get forked -- and the pseudo does handle anymore the file descriptor -- then the problem will not occur, correct?


Thanks,
Daniele

____________________________________________________________
sudo-workers mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-workers
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQQ2i6u6VhCxV1aSkPHxOPmZ9ILUVAUCWhSJBQAKCRDxOPmZ9ILU
VMCTAJ941hVEz6hpqZhl4Ho/FfmuJKuE5ACfUJ1uM3UgMUZXPGnboHkSOtIKgHY=
=wbBf
-----END PGP SIGNATURE-----