Markus Roberts <[email protected]> writes:

> This patch incorporates Ricky Zhou's idea for establishing a default
> SIGPIPE trap of IGNORE in child, which protects really dumb daemons
> from the effects of writing to a closed stdout.  As even moderately
> smart daemons ought not do this, these may be a reasonable fraction of
> the cases.

this is *really* bad.  you have no idea how many seemingly unrelated
bugs were reported in Red Hat due to yum leaking SIG_IGN when running
postinstall scripts.  (especially bad when cron was the one which passed
SIG_IGN on to *its* children...)

as I said in my previous message, a daemon SHOULD die when it writes to
closed stdout.  it needs to take the needed steps to ignore SIGPIPE
itself.
-- 
Kjetil T. Homme
Redpill Linpro AS - Changing the game

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.


Reply via email to