lvremove fails to wait for input
This is a real bug, not just a mis-display. But a non-critical one.
waxh0012:~# lvremove /dev/vgxen/lvveritas
Do you really want to remove active logical volume lvveritas? [y/n]:
Logical volume lvveritas not removed
Instead of waiting for a y/n it just takes nothing as “n” and cancels.
lvremove -f is working.
I’m unsure what’s causing this, saw it on multiple installs.
It happens even in bash, so it might be ssh, so i’m pasting my env.
SSH_CLIENT=…….remove….22
USER=root
MAIL=/var/mail/root
HOME=/root
SSH_TTY=/dev/pts/0
PAGER=less
PS1=\h:\w\$
LOGNAME=root
TERM=xterm-256color
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SHELL=/bin/ash
PWD=/root
CHARSET=UTF-8
SSH_CONNECTION=removed
(from redmine: issue id 1527, created on 2012-12-19, closed on 2013-05-17)
- Changesets:
- Revision eca60a85 by Natanael Copa on 2013-05-16T16:45:20Z:
main/libc0.9.32: make getchar/putchar as inlines
fixes issue with lvm2 which modifies stdin.
Patch from Timo.
ref #1527
- Revision 6429f9b3 by Natanael Copa on 2013-05-16T16:53:15Z:
main/lvm2: rebuild against an uclibc with fixed getchar
fixes #1527