[Bug 1845529] Re: bash completion shows `awk: line 18: function gensub never defined` on `umount /dev/<Tab>`
Brian Murray
brian at ubuntu.com
Tue Jan 7 00:53:44 UTC 2020
Ah, I had not install the mount command - after doing that it passes
verification.
Preparing to unpack .../mount_2.34-0.1ubuntu2.1_amd64.deb ...
Unpacking mount (2.34-0.1ubuntu2.1) over (2.34-0.1ubuntu2) ...
Setting up mount (2.34-0.1ubuntu2.1) ...
Processing triggers for man-db (2.8.7-3) ...
bdmurray at clean-eoan-amd64:~$ bash
bdmurray at clean-eoan-amd64:~$ umount /dev/
/dev/hugepages /dev/mqueue /dev/pts /dev/shm
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1845529
Title:
bash completion shows `awk: line 18: function gensub never defined` on
`umount /dev/<Tab>`
Status in bash-completion package in Ubuntu:
Invalid
Status in ubuntu-meta package in Ubuntu:
Invalid
Status in util-linux package in Ubuntu:
Fix Released
Status in bash-completion source package in Eoan:
Invalid
Status in gawk source package in Eoan:
Invalid
Status in mawk source package in Eoan:
Invalid
Status in ubuntu-meta source package in Eoan:
Invalid
Status in util-linux source package in Eoan:
Fix Committed
Status in bash-completion source package in Focal:
Invalid
Status in gawk source package in Focal:
Invalid
Status in mawk source package in Focal:
Invalid
Status in ubuntu-meta source package in Focal:
Invalid
Status in util-linux source package in Focal:
Fix Released
Status in Debian:
Confirmed
Bug description:
[Impact]
Any user attempting to tab-complete from "umount /dev/" when running the bash shell.
[Test cases]
Steps to reproduce:
1. Install Ubuntu MATE 19.10 using minimal desktop option
2. Open terminal and enter `umount /dev/s` and then hit <Tab>
Expected result:
* bash completion works as expected
Actual results:
* bash completion does not work :
$ umount /dev/awk: line 18: function gensub never defined
awk: line 18: function gensub never defined
awk: line 18: function gensub never defined
awk: line 18: function gensub never defined
$ umount /meawk: line 18: function gensub never defined
awk: line 18: function gensub never defined
awk: line 18: function gensub never defined
awk: line 18: function gensub never defined
[Regression potential]
Since it is limited to a single file (/usr/share/bash-completion/completions/umount) and affects only it, as well as given that it currently does not work, I estimate this as a low risk change. Things to look out for as a regression would be if another previously-working completion would fail to work (ie. what if mount stops completing correctly, and works again if the fix is backed out?).
---
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: bash-completion 1:2.9-1ubuntu1
ProcVersionSignature: Ubuntu 5.3.0-10.11-generic 5.3.0-rc8
Uname: Linux 5.3.0-10-generic x86_64
ApportVersion: 2.20.11-0ubuntu7
Architecture: amd64
CurrentDesktop: MATE
Date: Thu Sep 26 18:46:59 2019
Dependencies:
InstallationDate: Installed on 2019-09-26 (0 days ago)
InstallationMedia: Ubuntu-MATE 19.10 "Eoan Ermine" - Beta amd64 (20190926.1)
PackageArchitecture: all
SourcePackage: bash-completion
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1845529/+subscriptions
More information about the foundations-bugs
mailing list