Debian Bug report logs - #568191
avahi completion waits network timeout or prints error messages

version graph

Package: bash-completion; Maintainer for bash-completion is Gabriel F. T. Gomes <gabriel@debian.org>; Source for bash-completion is src:bash-completion (PTS, buildd, popcon).

Reported by: Drew Parsons <dparsons@debian.org>

Date: Wed, 3 Feb 2010 00:09:01 UTC

Severity: normal

Tags: confirmed

Merged with 551780, 574950

Found in versions bash-completion/1:1.1-1, bash-completion/1:1.1-3

Fixed in version bash-completion/1:2.1-3

Done: David Paleino <dapal@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#568191; Package bash-completion. (Wed, 03 Feb 2010 00:09:04 GMT) (full text, mbox, link).


Acknowledgement sent to Drew Parsons <dparsons@debian.org>:
New Bug report received and forwarded. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Wed, 03 Feb 2010 00:09:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Drew Parsons <dparsons@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: bash-completion: scp <tab> floods with network errors, not filenames
Date: Wed, 03 Feb 2010 11:05:46 +1100
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




Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#568191; Package bash-completion. (Fri, 12 Feb 2010 08:45:03 GMT) (full text, mbox, link).


Acknowledgement sent to Adrian Bridgett <adrian@smop.co.uk>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Fri, 12 Feb 2010 08:45:03 GMT) (full text, mbox, link).


Message #10 received at 568191@bugs.debian.org (full text, mbox, reply):

From: Adrian Bridgett <adrian@smop.co.uk>
To: 568191@bugs.debian.org
Subject: Re: bash-completion: scp <tab> floods with network errors, not filenames
Date: Fri, 12 Feb 2010 08:42:55 +0000
seconded.  TBH I'd just like an option to turn off completion against
the network - it's not just the message but the fixe second hang that
really annoys me. 

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS




Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#568191; Package bash-completion. (Tue, 16 Feb 2010 15:06:03 GMT) (full text, mbox, link).


Acknowledgement sent to Brad Jorsch <anomie@users.sourceforge.net>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Tue, 16 Feb 2010 15:06:03 GMT) (full text, mbox, link).


Message #15 received at 568191@bugs.debian.org (full text, mbox, reply):

From: Brad Jorsch <anomie@users.sourceforge.net>
To: 568191@bugs.debian.org
Subject: Re: bash-completion: scp <tab> floods with network errors, not filenames
Date: Tue, 16 Feb 2010 10:03:57 -0500
To turn it off, edit /etc/bash_completion and comment out or remove the
bit about avahi (lines 1302-1315 in the version of the file distributed
with 1:1.1-3). And then source /etc/bash_completion to activate the
changes in your current session, or just log out and log back in.




Forcibly Merged 551780 568191 574950. Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Wed, 24 Mar 2010 07:09:03 GMT) (full text, mbox, link).


Changed Bug title to 'avahi completion waits network timeout or prints error messages' from 'bash-completion: scp <tab> floods with network errors, not filenames' Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Wed, 24 Mar 2010 07:09:06 GMT) (full text, mbox, link).


Message #20 received at 574950-close@bugs.debian.org (full text, mbox, reply):

From: David Paleino <dapal@debian.org>
To: 574950-close@bugs.debian.org
Subject: Bug#574950: fixed in bash-completion 1:2.1-3
Date: Wed, 19 Mar 2014 11:03:30 +0000
Source: bash-completion
Source-Version: 1:2.1-3

We believe that the bug you reported is fixed in the latest version of
bash-completion, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 574950@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David Paleino <dapal@debian.org> (supplier of updated bash-completion package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 19 Mar 2014 11:44:27 +0100
Source: bash-completion
Binary: bash-completion
Architecture: source all
Version: 1:2.1-3
Distribution: unstable
Urgency: medium
Maintainer: Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>
Changed-By: David Paleino <dapal@debian.org>
Description: 
 bash-completion - programmable completion for the bash shell
Closes: 496162 574950 665651 673235 680852 697513 698977 702498 704832 708173 737672 737881 739835 741657
Changes: 
 bash-completion (1:2.1-3) unstable; urgency=medium
 .
   * Import patch from Ubuntu:
     - fix_quote_readline_by_ref.patch, thanks to JuanJo Ciarlante
       (Closes: #739835):
       + avoid escaping 1st '~' (LP: #1288314)
       + avoid quoting if empty, else expansion without args only shows
         dirs (LP: #1288031)
       + replace double escaping to single (eg for completing file/paths
         with spaces)
     - words_bad_array_subscript.patch, thanks to Barry Warsaw
     - dpkg_ddeb.patch: dpkg also supports *.ddeb, thanks to Sebastien
       Bacher (LP: #568404, Closes: #737881)
     - disable_avahi_browse.patch: slow, and doesn't scale to big
       networks, thanks to Chris Jones (Closes: #574950, LP: #510591)
     - xine_add_more_formats.patch: add oga and ogx to multimedia players
       (Closes: #496162, LP: #311525)
   * debian/maintscript, debian/postinst:
     - clean etc conffiles on upgrade since completion files are in /usr
       with 2.0, thanks to Sebastien Bacher
   * debian/control: marked Multi-Arch: foreign
   * debian/patches/:
     - fix_gcc_detection.patch, correctly parses Debian's GCC version
       number, thanks to Tomas Janousek (Closes: #665651)
     - xpdf_support_compressed_pdf.patch, in Debian xpdf also supports
       compressed files, thanks to Alfredo Finelli (Closes: #702498)
     - dpkg_support_raw-extract_vextract.patch: add support for more
       options in dpkg-deb, thanks to Uwe Storbeck (Closes: #698977)
     - dpkg_fix_-W_option.patch: -W|--show doesn't support udebs/ddebs,
       thanks to Luca Capello (Closes: #697513)
     - aptitude_safe-upgrade.patch: safe-upgrade supports package names,
       thanks to Nicolas Le Cam (Closes: #673235)
     - ifconfig_locale.patch: _mac_addresses() didn't consider locale
       awareness of ifconfig, thanks to Thilo Six (Closes: #704832)
     - dont_return_from_sourced_script.patch: avoid problems with shells
       not supporting returning from a sourced script (Closes: #741657)
     - look_for_pod.patch: perldoc: look for .pod in addition to .pm
       files, thanks to Carl Hayter (Closes: #708173)
   * debian/extra/debhelper/dh_bash-completion: fix installation process
     when more than one "proper snippet" is being installed, thanks to
     Jean-Michel Vourgère (Closes: #680852)
   * Dropped completions included in util-linux (Closes: #737672)
Checksums-Sha1: 
 e9849707f765792d9227836eec5a9db90a1bcb0b 1377 bash-completion_2.1-3.dsc
 abd628e5dfef3242aa467277e4647a0ec0b13a7d 19408 bash-completion_2.1-3.debian.tar.xz
 f2a0edfbace7dfc007d629968e6eec180267c124 182124 bash-completion_2.1-3_all.deb
Checksums-Sha256: 
 2b44aeb674a9690c6af75957fa5308889277c9abd1a05143c81ccb4733e0a15f 1377 bash-completion_2.1-3.dsc
 8f48a945a680d9ab0da54be570929c33ae7bc5ec0f25fb6512fb75db1013ee3a 19408 bash-completion_2.1-3.debian.tar.xz
 d226ff84e0633c0ee4abdb9b2631fe0532b6c516f9d434a035633500811d9049 182124 bash-completion_2.1-3_all.deb
Files: 
 1ad095c77d5c9f34aa34d8822c52af4b 1377 shells standard bash-completion_2.1-3.dsc
 0d3f94bc45de05f6c05bfdf7d8d9a82e 19408 shells standard bash-completion_2.1-3.debian.tar.xz
 b3f48281983f26282a473b2a082d9786 182124 shells standard bash-completion_2.1-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlMpdqQACgkQ5qqQFxOSsXRWtwCfRpjyuFpSIdtHdUnGSM3nzZSv
5OUAn29tGWEKYQydzlajsOUrA45W4D/f
=67po
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 17 Apr 2014 07:29:49 GMT) (full text, mbox, link).


Bug unarchived. Request was from "Gabriel F. T. Gomes" <gabriel@inconstante.net.br> to control@bugs.debian.org. (Wed, 19 Dec 2018 00:12:03 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 16 Jan 2019 07:28:16 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 09:48:08 2023; Machine Name: bembo

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.