[Bash-completion-devel] Bug#568191: bash-completion: scp <tab> floods with network errors, not filenames

Drew Parsons dparsons at debian.org
Wed Feb 3 00:05:46 UTC 2010


Package: bash-completion
Version: 1:1.1-3
Severity: normal

re: /etc/bash_completion.d/ssh

scp is used for copying ordinary files (with the extra bonus of
sending them through the internet).  So the behaviour I would expect
from scp <tab> is to complete filenames, the ones you intend to send.

Instead of that, scp <tab> goes insane trying ping every single host on the
network whose MAC address it happens to know about, and then floods
the screen with error messages complaining it can't connect to them:

Failed to resolve service 'bore [00:00:00:00:00:00]' of type
'_workstation._tcp' in domain 'local': Timeout reached

at least 50 such error messages from all the local hosts.
Oh, and the filename I happened to be trying to tab-complete to also
appeared at the end after all these network error messages.

This is absolutely insane.  It makes tab-completion effectively
useless for scp.

Please remove the interfering networking attempts and let
tab-completion do its normal job of making it easier to type filenames.

Drew

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash-completion depends on:
ii  bash                          4.1-1      The GNU Bourne Again SHell

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information





More information about the Bash-completion-devel mailing list