[libvirt-users] Handling connection closes in (older) Sys::Virt

Henrik Ahlgren pablo at seestieto.com
Wed Nov 14 11:48:46 UTC 2012


On Wed, Nov 14, 2012 at 10:58:03AM +0000, Daniel P. Berrange wrote:
> $ strace  ./demo.pl 2>&1 | grep SIGPIPE
> rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x343ca0efe0}, NULL, 8) = 0
> rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x343ca0efe0}, {SIG_IGN, [], SA_RESTORER, 0x343ca0efe0}, 8) = 0
> 
> and I don't see any EPIPE error when killing ssh
> 
> Daniel

$ strace ./lv.pl 2>&1 | grep  SIGPIPE
rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7fcf3318aff0}, {SIG_DFL, [], 0}, 8) = 0

This is with lv 0.9.12-4~bpo60+1 and the stock squeeze Perl 5.10.1.




More information about the libvirt-users mailing list