http://bugzilla.suse.com/show_bug.cgi?id=1124481
http://bugzilla.suse.com/show_bug.cgi?id=1124481#c15
--- Comment #15 from heming zhao
From first Description (comment #0) of Martin Loviska, lvm2 as a bash child, just closed its fd[3], but his parents fd[3] was still opened. There are lots of test cases running before lvm2, any of them may cause this bug.
I only quickly grep 'grub2' source code, and there is no keyword of
'.bash_histroy'.
and I also think the bash is correct.
there is a example to trigger this bug, which copied from redhat bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=618995
```c
#include