Skip to contentSkip to conversation

Fix dmeventd path check

PATCH New Vitaly Kuznetsov 1 participant 1 message Nov 8, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix dmeventd path check

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.

Signature · 9 lines
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>