HomeClusterLabs Projects

Low: ping: Avoid temp files in fping_check (bsc#987348)

Description

Low: ping: Avoid temp files in fping_check (bsc#987348)

Unfortunately the previous attempt to avoid this issue (commit
7eb958ce4) didn't work since the problem happens only when the
output buffer is flushed but the write fails. Since there is no
mechanism in the shell to check if a pipe write is successful,
this silently fails.

In ping_check, there are no temporary files created. It's
possible to avoid the temporaries for fping too, but I had to
resort to using python.

Details

Provenance
Kristoffer Grönlund <krig@koru.se>Authored on Aug 10 2016, 4:24 PM
Parents
rP89505e8d02d1: Merge pull request #1116 from kgaillot/fixes
Branches
Unknown
Tags
Unknown

Event Timeline