File Descriptor Leak Message from LVM Commands
Operating system: Red Hat Enterprise Linux 5 (RHEL5)
When LVM commands were executed from shell script, it returned following messages:
> File descriptor 51 (/var/lib/debtags/vocabulary.idx) leaked on > vgchange invocation. Parent PID 32047: /bin/sh ...
The lvm(2) man page explains that this is an expected message, if the command was executed from the script.
On invocation, LVM requires that only the standard file descriptors stdin, stdout, and stderr are available. If others are found, they get closed and the messages are issued warning about the leak.
This message can be ignored.