mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
14d0b0bbdd
In HA cluster, we have "clvm" resource agent to manage clvmd daemon. The agent invokes clvmd like: "clvmd -T90 -d0", which always prints a scaring error message: """ local socket: connect failed: No such file or directory """ When specifed with "-d" option, clvmd tries to check if an instance of the clvmd daemon is already running through a testing connection. The connect() will fail with this ENOENT error in such case, so supress the error message in such case. TODO: add missing error reaction code - since ofter log_error, program is not supposed to continue running (log_error() is for reporting stopping problems). Signed-off-by: Eric Ren <zren@suse.com>