bash-completion for scp broken with version 20060301-4ubuntu1 on intrepid ibex

Bug #289387 reported by Ondrej Marsalek
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: bash-completion

intrepid ibex release candidate amd64

bash-completion 20060301-4ubuntu1

completion of remote directories (using public keys for ssh) is broken. trying something like

$ scp somehost:directo[tab]

results in

$ scp directory/

it recognizes the hostname and manages to complete the remote directory, but changes the text in the commandline by deleting the hostname. for comparison, i have no such problem hardy heron and bash-completion 20060301-3ubuntu3.

expected result: just like hardy :-)

Revision history for this message
Andreas Leitgeb (avl-logic) wrote :

It seems to depend on more factors.
I can reproduce it on one intrepid machine with same version of bash-completion,
but not on another intrepid machine with again same version of the package.

Revision history for this message
Andreas Leitgeb (avl-logic) wrote :

My previous notice was a bit terse.

Further tracking seems to locate the cause of the
problem in /etc/profile.d/gvfs-bash-completion.sh
from package gvfs-bin.

Moving away that one file and starting a new login
shell makes scp expansion work correctly, moving
it back and starting a new login shell gets the
symptoms of the bug back.

Revision history for this message
Andreas Leitgeb (avl-logic) wrote :

Appears to be a bug in gvfs-bin.

Changed in bash-completion:
status: New → Confirmed
Revision history for this message
Andreas Leitgeb (avl-logic) wrote :

changing COMP_WORDBREAKS in /etc/profile.d/gvfs-bash-completion.sh
has nasty effect on other completions, at least on "scp".

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.