Bug#649537: lvm2: lvremove only inspects the last char when doing an 'are you sure? [y/n]'

Bastian Blank waldi at debian.org
Sat Nov 26 17:46:19 UTC 2011


severity 649537 important
thanks

On Mon, Nov 21, 2011 at 03:56:55PM -0800, dblack wrote:
> root at vmdev3:/home/dblack# lvremove /dev/vmdev3-vg0/indexing.bepress.com-*
> Do you really want to remove active logical volume indexing.bepress.com-swap? [y/n]: noy
>   Logical volume "indexing.bepress.com-swap" successfully removed
> Do you really want to remove active logical volume indexing.bepress.com-disk? [y/n]: ny
>   Logical volume "indexing.bepress.com-disk" successfully removed
> 
> In other words, the idiot-proofing is broken and this could easily lead to an LV being deleted and data loss.

It tells you to say "n" or "y". Please provide a patch.

Bastian

-- 
No problem is insoluble.
		-- Dr. Janet Wallace, "The Deadly Years", stardate 3479.4





More information about the pkg-lvm-maintainers mailing list