Bug#328512: lvm2: lvremove uses 99% CPU when run non-interactively

Roger Leigh rleigh at debian.org
Thu Sep 15 20:40:08 UTC 2005


Package: lvm2
Version: 2.01.14-1
Severity: normal

Hi,

Calling lvremove from a script run non-interactively (with run-parts)
causes it to consume nearly all the CPU time.  It should usually ask
for user confirmation at this point, but instead blows up.  If it
can't do without user interaction, it should exit on error at this
point.

I know it's possible to run with "-f" to avoid this, but the current
behaviour is far from ideal.


Regards,
Roger


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages lvm2 depends on:
ii  debconf                      1.4.58      Debian configuration management sy
ii  libc6                        2.3.5-6     GNU C Library: Shared libraries an
ii  libdevmapper1.01             2:1.01.04-2 The Linux Kernel Device Mapper use
ii  libselinux1                  1.24-4      SELinux shared libraries
ii  lvm-common                   1.5.20      The Logical Volume Manager for Lin

lvm2 recommends no packages.

-- debconf information:
  lvm2/snapshots:




More information about the pkg-lvm-maintainers mailing list