I got suspicious that the target has virt-ssh-helper always in run state.
With something that transports network data I'd expect more sleepy/poll states sometimes (as the NC case shows).
If I only start it manually it is in
0 0 35497 35490 20 0 69888 9924 poll_s S+ pts/0 0:00 \_ virt-ssh-helper qemu:///system
So does it really never return and busy loops on something - or is that a red herring?
Initially that had some readable content like:
0.000048 read(0, " <pae/>\n </features>\n <cpu "..., 1024) = 1024 <0.000016>
But later on it does seem to have binary data like:
0.000061 read(0, "i@\0\330\6\247\1\2|2\0\1\0\0\0\252\231\21\0\0\0\0\0\253\231\21\0\324\33\25\0\370"..., 1024) = 1024 <0.000015>
I got suspicious that the target has virt-ssh-helper always in run state.
With something that transports network data I'd expect more sleepy/poll states sometimes (as the NC case shows).
If I only start it manually it is in
0 0 35497 35490 20 0 69888 9924 poll_s S+ pts/0 0:00 \_ virt-ssh-helper qemu:///system
So does it really never return and busy loops on something - or is that a red herring?
Per strace it loops on this:
0.000071 read(4, "\4\0\0\0\0\0\0\0", 16) = 8 <0.000011> 306fce6e8ff4adc 1bd"... , 1024) = 1024 <0.000015> 2d1d4cfd" ..., 2048) = 2048 <0.000021> 74ccc3\ nHomepage: h"..., 1024) = 1024 <0.000012> POLLIN| POLLOUT} , {fd=4, events=POLLIN}], 3, 0) = 3 ([{fd=0, revents=POLLIN}, {fd=3, revents=POLLOUT}, {fd=4, revents=POLLIN}]) <0.000016>
0.000238 write(4, "\1\0\0\0\0\0\0\0", 8) = 8 <0.000012>
0.000040 read(0, "ba9821e493159a
0.000043 write(4, "\1\0\0\0\0\0\0\0", 8) = 8 <0.000010>
0.000034 write(4, "\1\0\0\0\0\0\0\0", 8) = 8 <0.000010>
0.000035 write(3, "\nSHA512: 1d4f9ad2f209cca
0.000057 write(4, "\1\0\0\0\0\0\0\0", 8) = 8 <0.000012>
0.000467 poll([{fd=0, events=POLLIN}, {fd=3, events=POLLIN}, {fd=4, events=POLLIN}], 3, 0) = 2 ([{fd=0, revents=POLLIN}, {fd=4, revents=POLLIN}]) <0.000016>
0.000069 read(4, "\4\0\0\0\0\0\0\0", 16) = 8 <0.000011>
0.000292 write(4, "\1\0\0\0\0\0\0\0", 8) = 8 <0.000013>
0.000049 read(0, "a26f12d123bdfc
0.000046 write(4, "\1\0\0\0\0\0\0\0", 8) = 8 <0.000014>
0.000051 write(4, "\1\0\0\0\0\0\0\0", 8) = 8 <0.000010>
0.000038 write(4, "\1\0\0\0\0\0\0\0", 8) = 8 <0.000014>
0.000518 poll([{fd=0, events=POLLIN}, {fd=3, events=
Initially that had some readable content like: 6\247\1\ 2|2\0\1\ 0\0\0\252\ 231\21\ 0\0\0\0\ 0\253\231\ 21\0\324\ 33\25\0\ 370"... , 1024) = 1024 <0.000015>
0.000048 read(0, " <pae/>\n </features>\n <cpu "..., 1024) = 1024 <0.000016>
But later on it does seem to have binary data like:
0.000061 read(0, "i@\0\330\