Create file "/longline.txt" with one lo-o-ong line(approximately 60 Kbytes)
Then try run remotely next script:

control:
    actionsequence = ( shellcommands )
    access = ( root )

shellcommands:
     "/bin/cat /longline.txt"


I have next debug messages from cfservd:
============================
SendSocketStream, sent 86
Transaction Send[t 162][Packed text]
Attempting to send 170 bytes
SendSocketStream, sent 170
Transaction Send[t 39][Packed text]
Attempting to send 47 bytes
SendSocketStream, sent 47
Transaction Send[t 89][Packed text]
Attempting to send 97 bytes
SendSocketStream, sent 97
cfservd:/var/cfengine/inputs/cfservd.conf:SendTransaction software failure
ReleaseCurrentLock(cfservd)
============================

And cfservd stop.

So, I think this is a bug

_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine
  • Cfservd stop working Alexander Shkurko/Шкурко Александ р

Reply via email to