Completion for umount behaves incorrectly

Bug #1841380 reported by John Runyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bash-completion (Ubuntu)
New
Undecided
Unassigned

Bug Description

Completion for umount behaves incorrectly. It does not complete relative paths and does not escape characters as needed:

something\jrunyon@pc:/media$ ls
'something\jrunyon'
something\jrunyon@pc:/media$ umount <tab> [-> umount /]
something\jrunyon@pc:/media$ umount s<tab> [-> umount s]
something\jrunyon@pc:/media$ umount /m<tab> [-> umount /media/something\jrunyon/778362E66C6546B5]
umount: /media/somethingjrunyon/778362E66C6546B5: No such file or directory

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: bash-completion 1:2.8-1ubuntu1
ProcVersionSignature: Ubuntu 4.18.0-17.18-generic 4.18.20
Uname: Linux 4.18.0-17-generic x86_64
ApportVersion: 2.20.10-0ubuntu13.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sun Aug 25 12:18:28 2019
Dependencies:

InstallationDate: Installed on 2018-03-07 (535 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
PackageArchitecture: all
SourcePackage: bash-completion
UpgradeStatus: Upgraded to cosmic on 2019-02-16 (189 days ago)
modified.conffile..etc.default.apport: [modified]
mtime.conffile..etc.default.apport: 2018-05-03T13:49:17.478580

Revision history for this message
John Runyon (dimecadmiu) wrote :
Revision history for this message
lotuspsychje (lotuspsychje) wrote :

Ubuntu 18.10 is end of life and is not supported anymore and also a security risk to keep using.

Please download a supported version from: https://ubuntu.com/#download

Changed in bash-completion (Ubuntu):
status: New → Invalid
Revision history for this message
John Runyon (dimecadmiu) wrote :

Problem also exists on 18.04.

Why don't you try it and see if you can replicate instead of closing?

Revision history for this message
John Runyon (dimecadmiu) wrote :

Problem exists on 18.04, 18.10, and 19.04.

John Runyon (dimecadmiu)
Changed in bash-completion (Ubuntu):
status: Invalid → New
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.