ksh issue: LVM vgs/lvs cli report 'File descriptor 11 (/tmp/sf2e.2jb (deleted)) leaked on lvs invocation.'
Issue
When using ksh on Red Hat Enterprise Linux with ksh-20100621 or close varients, we get this:
# A=$(vgs)
File descriptor 11 (/tmp/sf0r.3a1 (deleted)) leaked on vgs invocation. Parent PID 16279: ksh
or:
# A=$(lvs)
File descriptor 11 (/tmp/sf2e.2jb (deleted)) leaked on lvs invocation. Parent PID 16279: ksh
When using bash, nothing like this ever happens:
[root@hostname ~]# A=$(lvs)
[root@hostname ~]# A=$(vgs)
[root@hostname ~]# echo $A
VG #PV #LV #SN Attr VSize VFree vg0 1 5 0 wz--n- 33.41g 3.53g
Environment
- Red Hat Enterprise Linux 6
- Red Had Enterprise Linux 5
- ksh-20100621*
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
