1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/daemons/clvmd
Eric Ren 14d0b0bbdd clvmd: supress ENOENT error on testing connection
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>
2017-11-07 21:24:39 +01:00
..
.gitignore gitignore: Update for in-place build. 2015-07-27 13:18:35 +01:00
clvm.h gcc: cleanup Wunused-const-variable 2016-02-23 14:41:24 +01:00
clvmd-cman.c doc: change fsf address 2016-01-21 12:11:37 +01:00
clvmd-command.c cleanup: easier to read code 2017-08-25 14:20:59 +02:00
clvmd-common.h doc: change fsf address 2016-01-21 12:11:37 +01:00
clvmd-comms.h doc: change fsf address 2016-01-21 12:11:37 +01:00
clvmd-corosync.c clvmd: add mutex protection for cpg_ call 2017-02-05 17:55:37 +01:00
clvmd-openais.c tidy: drop unneeded return 2017-07-20 11:20:22 +02:00
clvmd-singlenode.c doc: change fsf address 2016-01-21 12:11:37 +01:00
clvmd.c clvmd: supress ENOENT error on testing connection 2017-11-07 21:24:39 +01:00
clvmd.h doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm-functions.c doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm-functions.h doc: change fsf address 2016-01-21 12:11:37 +01:00
Makefile.in makefiles: cleanups 2017-08-01 11:53:32 +02:00
refresh_clvmd.c doc: change fsf address 2016-01-21 12:11:37 +01:00
refresh_clvmd.h doc: change fsf address 2016-01-21 12:11:37 +01:00