logread -f does not respond to SIGPIPE

Denys Vlasenko vda.linux at googlemail.com
Sun Jul 28 21:16:15 UTC 2013


On Friday 05 July 2013 23:52, Frank Rosquin wrote:
> Hi,
> 
> when spawning an instance of logread -f from a script, if the parent
> script dies/gets killed, logread never exits even though it gets sent
> SIGPIPE

logread.c doesn't install SIGPIPE handler.
Unless SIGPIPE is set to be masked or ignored by logread's parent,
it should be dying from SIGPIPE. Strange...

I'm going to replace existing SIGINT handler
with bb_signals(BB_FATAL_SIGS, interrupted).


More information about the busybox mailing list