Your message dated Sat, 24 Dec 2016 21:08:55 +0100
with message-id 
<capbfzpmtqbmagt9ousr3rwdgnkv+o_34eiqcobsntyvuufo...@mail.gmail.com>
and subject line Re: [Bash-completion-devel] Bug#848975: bash-completion: Fails 
to auto-complete /etc/hosts hostnames after ~/.ssh/config file created
has caused the Debian Bug report #848975,
regarding bash-completion: Fails to auto-complete /etc/hosts hostnames after 
~/.ssh/config file created
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
848975: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848975
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: bash-completion
Version: 1:2.1-4.3
Severity: normal

Dear Maintainer,

Initially, auto-completion of hosts was working as expected, auto-completing 
hosts defined in /etc/hosts.
After adding a ~/.ssh/config file, auto-completion of hosts defined in 
/etc/hosts no longer works. When moving
the config file out of the way, auto-completion works normally again. 
Auto-completion of hosts defined in
~/.ssh/config _does_ work, but only those defined there.

As my /etc/hosts file is quite extensive, and I only need the ssh config file 
for one small setting, I don't
want to include all hosts in the ssh config file. I would expect to 
auto-complete hostnames from /etc/hosts 
even when a ~/.ssh/config file is present.

BR,
Miel

-- System Information:
Debian Release: stretch/sid
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bash-completion depends on:
ii  bash  4.4-2
ii  dpkg  1.18.15

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Issue can be closed - was related to user-specific setup

After debugging I found that certain scripts were loaded that would
override the ssh completion when a config file was present. So not related
to the bash-completion package itself.
Thanks for earlier feedback.

Regards,
Miel

On 23 December 2016 at 22:44, Miel Donkers <miel.donk...@codecentric.nl>
wrote:

> I've been trying to look at the source, to find what the problem is. But
> with my limited knowledge I could use some assistance.
>
> Looking at the "ssh" completion, it seems hosts are coming from the
> "hostcomplete" variable / parameter. But I haven't found where this one is
> coming from.
> I tried disabling loading the "~/.ssh/config" file in the
> "bash-completion" script, but this didn't make a difference.
>
> Could someone perhaps explain where the "hostcomplete" is coming from, so
> I might be able to debug this further?
>
> Thx,
> Miel
>
> On 22 December 2016 at 10:35, Ville Skyttä <ville.sky...@iki.fi> wrote:
>
>> FWIW, I (upstream) cannot reproduce using upstream bash-completion
>> development code directly on Fedora, haven't tried with Debian.
>>
>
>
>
> --
> *Miel Donkers | Agile Solution Developer*
>
>
> *codecentric Nederland BVtel: +31 (0) 85.400.0011 <+31%2085%20400%200011>
> | mobiel: +31 (0) 6.511.977.38 | miel.donk...@codecentric.nl
> <miel.donk...@codecentric.nl>*
>
> *Breda office (postal address) | Reduitlaan 33 | 4814DC Breda |
> Netherlands*
> *Amsterdam office | Johan Huizingalaan 763a | 1066VH Amsterdam |
> Netherlands*
> *www.codecentric.nl <http://www.codecentric.nl/> | blog.codecentric.nl
> <http://blog.codecentric.nl/> | @codecentric_nl
> <http://www.twitter.com/codecentric_nl>*
>
>
> Volg ons op LinkedIn
> <http://www.linkedin.com/company/codecentric-nederland-bv?trk=company_name>
> Tweet met ons op Twitter <https://twitter.com/codecentric_nl>
> Lees mee op onze blog <https://blog.codecentric.de/en/>
>
> Like ons op Facebook <https://www.facebook.com/codecentric.nl?fref=ts>
> Volg ons op Github <https://github.com/organizations/codecentric>
>
> Meer over ons: codecentric Nederland BV is een Java Software Craftsmen
> projecten en consultancy organisatie, met focus op Continuous Delivery,
> Agile development en Applicatie Performance Management (AppDynamics Pro
> <http://www.appdynamics.com/freetrial/?partnerid=0nxMIw>). codecentric is
> kennis gedreven met ruim 350 medewerkers in Nederland, Duitsland, Bosnië en
> Herzegovina en Servië.
>



-- 
*Miel Donkers | Agile Solution Developer*


*codecentric Nederland BVtel: +31 (0) 85.400.0011 | mobiel: +31 (0)
6.511.977.38 | miel.donk...@codecentric.nl <miel.donk...@codecentric.nl>*

*Breda office (postal address) | Reduitlaan 33 | 4814DC Breda | Netherlands*
*Amsterdam office | Johan Huizingalaan 763a | 1066VH Amsterdam |
Netherlands*
*www.codecentric.nl <http://www.codecentric.nl/> | blog.codecentric.nl
<http://blog.codecentric.nl/> | @codecentric_nl
<http://www.twitter.com/codecentric_nl>*


Volg ons op LinkedIn
<http://www.linkedin.com/company/codecentric-nederland-bv?trk=company_name>
Tweet met ons op Twitter <https://twitter.com/codecentric_nl>
Lees mee op onze blog <https://blog.codecentric.de/en/>

Like ons op Facebook <https://www.facebook.com/codecentric.nl?fref=ts>
Volg ons op Github <https://github.com/organizations/codecentric>

Meer over ons: codecentric Nederland BV is een Java Software Craftsmen
projecten en consultancy organisatie, met focus op Continuous Delivery,
Agile development en Applicatie Performance Management (AppDynamics Pro
<http://www.appdynamics.com/freetrial/?partnerid=0nxMIw>). codecentric is
kennis gedreven met ruim 350 medewerkers in Nederland, Duitsland, Bosnië en
Herzegovina en Servië.

--- End Message ---
_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel

Reply via email to