[sudo-workers] [BUG] iolog terminate process sent to background

Daniele Palumbo daniele at retaggio.net
Tue Nov 21 13:13:57 MST 2017


Il giorno 21 nov 2017, alle ore 18:34, Todd C. Miller <Todd.Miller at courtesan.com> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://www.sudo.ws/pipermail/sudo-workers/attachments/20171121/c30895c1/attachment.bin>


More information about the sudo-workers mailing list