Description of problem: vgs returns 0 (zero) even if the command error Version-Release number of selected component (if applicable): vgs returns 0 (zero) even though the command error. How reproducible: always Steps to Reproduce: # vgs /dev/cciss/c0d3p3 File descriptor 4 (/lib/libnspr4.so) leaked on vgs invocation. Parent PID 20216: bash File descriptor 5 (/lib/libnspr4.so) leaked on vgs invocation. Parent PID 20216: bash Invalid volume group name: cciss/c0d3p3 # echo $? 0 <== Expected results: vgs should return non-zero exit status. Additional info: This bug is reported on lvm2 mailing list and fixed on CVS. https://www.redhat.com/archives/lvm-devel/2009-July/msg00235.html Log message: Return EINVALID_CMD_LINE not success when invalid VG name format is used.
lready fixed upstream - will flow through next time we build