Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: When lvmetad is stopped with SIGINT/SIGTERM, the following error is printed to the system journal: lvmetad[356]: Failed to accept connection errno 11. This also appears when lvmetad is stopped by systemd through "systemctl stop lvm2-lvmetad.service". This is the source code location that produces the error: https://git.fedorahosted.org/cgit/lvm2.git/tree/libdaemon/server/daemon-server.c#n494 Version-Release number of selected component (if applicable): lvm2 2.02.168 How reproducible: Always Steps to Reproduce: 1. Run "lvmetad -f" in a terminal 2. Press Ctrl+C or send SIGTERM to the process Actual results: The above error is printed to the journal Expected results: lvmetad terminates gracefully
Since it's an expected condition during shutdown, I've applied a patch to suppress it. https://www.redhat.com/archives/lvm-devel/2017-July/msg00004.html https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=fdd00ecdd1fd51605be1b616d712a2220ced8875