Debian Bug report logs - #574950
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: Chris Jones <cmsj@tenshu.net>

Date: Mon, 22 Mar 2010 12:33:01 UTC

Severity: normal

Tags: confirmed

Merged with 551780, 568191

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#574950; Package bash-completion. (Mon, 22 Mar 2010 12:33:04 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Jones <cmsj@tenshu.net>:
New Bug report received and forwarded. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Mon, 22 Mar 2010 12:33:04 GMT) (full text, mbox, link).


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

From: Chris Jones <cmsj@tenshu.net>
To: submit@bugs.debian.org
Subject: avahi-browse makes ssh completion very slow on large LANs
Date: Mon, 22 Mar 2010 12:01:22 +0000
Package: bash-completion
Version: 1:1.1-3

I'm running an Ubuntu laptop on a LAN with ~150 devices that announce as
workstations, and the avahi-browse command used by /etc/bash-completion
takes around 5 seconds to complete. This is quite frustrating if you ssh
a lot!

Would it be possible please to revert this feature, or at least somehow
wrap it in a *very* strict timeout?

Cheers,
-- 
Chris Jones
  cmsj@tenshu.net
   www.tenshu.net




Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#574950; Package bash-completion. (Mon, 22 Mar 2010 18:54:05 GMT) (full text, mbox, link).


Acknowledgement sent to David Paleino <dapal@debian.org>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Mon, 22 Mar 2010 18:54:05 GMT) (full text, mbox, link).


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

From: David Paleino <dapal@debian.org>
To: bash-completion-devel@lists.alioth.debian.org, Chris Jones <cmsj@tenshu.net>, 574950@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: [Bash-completion-devel] Bug#574950: avahi-browse makes ssh completion very slow on large LANs
Date: Mon, 22 Mar 2010 19:50:23 +0100
[Message part 1 (text/plain, inline)]
merge 551780 574950
tags 551780 confirmed
thanks

On Monday 22 March 2010 13:01:22, Chris Jones wrote:
> Package: bash-completion
> Version: 1:1.1-3
> 
> I'm running an Ubuntu laptop on a LAN with ~150 devices that announce as
> workstations, and the avahi-browse command used by /etc/bash-completion
> takes around 5 seconds to complete. This is quite frustrating if you ssh
> a lot!

Kind-of-duplicate of #551780 :)

Kindly,
David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|----
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
[signature.asc (application/pgp-signature, inline)]

Merged 551780 574950. Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Mon, 22 Mar 2010 18:54:07 GMT) (full text, mbox, link).


Added tag(s) confirmed. Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Mon, 22 Mar 2010 18:54:08 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#574950; Package bash-completion. (Wed, 24 Mar 2010 00:18:03 GMT) (full text, mbox, link).


Acknowledgement sent to Crestez Dan Leonard <cdleonard@gmail.com>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Wed, 24 Mar 2010 00:18:03 GMT) (full text, mbox, link).


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

From: Crestez Dan Leonard <cdleonard@gmail.com>
To: David Paleino <dapal@debian.org>
Cc: bash-completion-devel@lists.alioth.debian.org, 574950@bugs.debian.org
Subject: Re: [Bash-completion-devel] Bug#574950: avahi-browse makes ssh completion very slow on large LANs
Date: Wed, 24 Mar 2010 02:16:11 +0200
On Mon, 2010-03-22 at 19:50 +0100, David Paleino wrote:
> merge 551780 574950
> tags 551780 confirmed
> thanks
> 
> On Monday 22 March 2010 13:01:22, Chris Jones wrote:
> > Package: bash-completion
> > Version: 1:1.1-3
> > 
> > I'm running an Ubuntu laptop on a LAN with ~150 devices that announce as
> > workstations, and the avahi-browse command used by /etc/bash-completion
> > takes around 5 seconds to complete. This is quite frustrating if you ssh
> > a lot!
> 
> Kind-of-duplicate of #551780 :)

Bug 568191 also looks like a duplicate:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568191

The first complaint is about messages on stderr but that was fixed in
upstream commit bb8912b0:

https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=bash-completion/bash-completion.git;a=commitdiff;h=bb8912b06ff09f8fed253e7e5b14916e38a48733






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


Changed Bug title to 'avahi completion waits network timeout or prints error messages' from 'avahi-browse makes ssh completion very slow on large LANs' Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Wed, 24 Mar 2010 07:09:07 GMT) (full text, mbox, link).


Reply sent to David Paleino <dapal@debian.org>:
You have taken responsibility. (Wed, 19 Mar 2014 11:06:05 GMT) (full text, mbox, link).


Notification sent to Chris Jones <cmsj@tenshu.net>:
Bug acknowledged by developer. (Wed, 19 Mar 2014 11:06:05 GMT) (full text, mbox, link).


Message #28 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-----




Reply sent to David Paleino <dapal@debian.org>:
You have taken responsibility. (Wed, 19 Mar 2014 11:06:06 GMT) (full text, mbox, link).


Notification sent to Juan Fernando Jaramillo Botero <juanf.jaramillo@miginternacional.com>:
Bug acknowledged by developer. (Wed, 19 Mar 2014 11:06:06 GMT) (full text, mbox, link).


Reply sent to David Paleino <dapal@debian.org>:
You have taken responsibility. (Wed, 19 Mar 2014 11:06:07 GMT) (full text, mbox, link).


Notification sent to Drew Parsons <dparsons@debian.org>:
Bug acknowledged by developer. (Wed, 19 Mar 2014 11:06:07 GMT) (full text, mbox, link).


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:02 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Gabriel F. T. Gomes <gabriel@inconstante.eti.br>:
Bug#574950; Package bash-completion. (Wed, 19 Dec 2018 00:57:03 GMT) (full text, mbox, link).


Acknowledgement sent to "Gabriel F. T. Gomes" <gabriel@inconstante.net.br>:
Extra info received and forwarded to list. Copy sent to Gabriel F. T. Gomes <gabriel@inconstante.eti.br>. (Wed, 19 Dec 2018 00:57:03 GMT) (full text, mbox, link).


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

From: "Gabriel F. T. Gomes" <gabriel@inconstante.net.br>
To: <574950@bugs.debian.org>
Subject: Re: Bug#574950: fixed in bash-completion 1:2.1-3
Date: Tue, 18 Dec 2018 22:55:14 -0200
On Wed, 19 Mar 2014 11:03:30 +0000 David Paleino <dapal@debian.org> wrote:
> 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.
>
> [...]
>
>      - disable_avahi_browse.patch: slow, and doesn't scale to big
>        networks, thanks to Chris Jones (Closes: #574950, LP: #510591)

I'm removing this patch from Debian [1], because completion with
avahi-browse was never enabled by default (in order to enable it, one
has to set the COMP_KNOWN_HOSTS_WITH_HOSTFILE environment variable, as
described in the documentation [2]), so the patch is only making it
impossible for people who actually want to complete with avahi-browse
to enabled it.

If this starts to cause trouble to people again, then we'll have to
investigate what is actually going on.

Kind regards,
Gabriel

[1] https://salsa.debian.org/debian/bash-completion/commit/872a16c290d2798a0abfe1c2f135b34c71cd1e5f
[2] https://github.com/scop/bash-completion/blob/master/doc/bash_completion.txt#L49-L55



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 05:57:26 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.