ksh 問題: LVM vgs/lvs cli が File descriptor 11 (/tmp/sf2e.2jb (deleted)) leaked on lvs invocation. メッセージを出力する
Issue
Red Hat Enterprise Linux で、ksh-20100621 などの ksh を使用すると、以下のメッセージを出力します。
# A=$(vgs)
File descriptor 11 (/tmp/sf0r.3a1 (deleted)) leaked on vgs invocation.Parent PID 16279: ksh
または、
# A=$(lvs)
File descriptor 11 (/tmp/sf2e.2jb (deleted)) leaked on lvs invocation.Parent PID 16279: ksh
bash を使用すると、このようなメッセージは発生しません。
[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, tools, and much more.