Hi,
It looks like cfengine3 masks the SIGPIPE signal. This mask gets
inherited by any processes cf3 invokes which can cause undesirable
behaviour.
I've noticed, for example, that if sshd gets restarted by cf3 it results
in shell behaviour as shown below.
cat somefile | head -10
[snip]
cat: write error: Broken pipe
The file in question has to be at least a couple thousand lines in
length (dependent on line length, I suppose) in order to trigger the
broken pipe. I assume this is due to some pipe buffer size.
Is there any way to prevent this signal masking inheritance?
I'm running cfengine-community 3.1.1 on CentOS 5.5 x86_64.
Thanks,
Frans
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine