[lvm-devel] [PATCH] Fix dmeventd path check

Vitaly Kuznetsov vitty at altlinux.ru
Mon Nov 8 11:42:20 UTC 2010


Hi,

I found a small bug in _start_server in
daemons/dmeventd/libdevmapper-event.c:

There is a possibility to change dmeventd_path by setting "executable"
parameter in config. But it will not work if there is no executable at
default DMEVENTD_PATH due to error in check: we must check args[0]
(which is dmeventd_path ? : default_dmeventd_path) instead of
DMEVENTD_PATH for existence. My patch fix this small issue.

-- 
Vitaly Kuznetsov, ALT Linux

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvm2-2.02.75-alt-dmeventd-path.patch
Type: text/x-diff
Size: 573 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20101108/287cfa4a/attachment.bin>


More information about the lvm-devel mailing list