Debian Bug report logs -
#471266
bash-completion: lvm completion does not work properly
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#471266; Package bash.
(full text, mbox, link).
Acknowledgement sent to Cameron Hutchison <debianbug@xdna.net>:
New Bug report received and forwarded. Copy sent to Matthias Klose <doko@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: bash
Version: 3.1dfsg-9
Severity: normal
Command line completion (in /etc/bash_completion) for the lvm2 suite of
tools does not work very well and it would be better to remove it
altogether.
Examples of broken behaviour:
# lvextend --size <tab>
This only allows completion on the words in the list "g G k K m M
t T". However a number must also be entered before the the units and
then the units cannot be completed. This is of such marginal utility
that is should be removed (IMHO).
# lvextend --size +40G <tab>
The completes on the physical volumes, not the logical volumes as it
should. This is because it counts "+40G" as the logical volume (the
first non-option argument) and assumes that a physical volume path is
now needed.
I think there are a number of other situations when the completion
fails. I always seem to have to type a path to the logical volume
without tab completion available. It would be better if it did not try
any specific completion at all.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24.3-orthanc-2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages bash depends on:
ii base-files 4.0.3 Debian base system miscellaneous f
ii debianutils 2.28.4 Miscellaneous utilities specific t
ii libc6 2.7-9 GNU C Library: Shared libraries
ii libncurses5 5.6+20080203-1 Shared libraries for terminal hand
Versions of packages bash recommends:
pn bash-completion <none> (no description available)
-- no debconf information
Bug reassigned from package `bash' to `bash-completion'.
Request was from Luk Claes <luk@debian.org>
to control@bugs.debian.org.
(Mon, 17 Mar 2008 06:51:03 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#471266; Package bash-completion.
(Wed, 10 Aug 2011 11:57:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Axel Beckert <abe@debian.org>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>.
(Wed, 10 Aug 2011 11:57:06 GMT) (full text, mbox, link).
Message #14 received at 471266@bugs.debian.org (full text, mbox, reply):
retitle 471266 bash-completion: lvm completion does not work properly
kthxbye
This bug is very annoying and drove a coworker of mine nearly mad.
My workaround (propagated to about 200 Debian and Ubuntu workstations
and servers):
dpkg-divert --divert /etc/bash_completion.d/.lvm.disabled --local --rename --add /etc/bash_completion.d/lvm
Accordingly I suggest to remove the LVM completion completely from the
package unless this issue is fixed. IMHO LVM completion in its current
state does more harm than it helps.
Regards, Axel
--
,''`. | Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
`- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
Changed Bug title to 'bash-completion: lvm completion does not work properly' from 'bash: lvm completion does not work properly'
Request was from Axel Beckert <abe@debian.org>
to control@bugs.debian.org.
(Wed, 10 Aug 2011 11:57:30 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 10:09:30 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.