[Bug 1845529] Re: bash completion shows `awk: line 18: function gensub never defined` on `umount /dev/<Tab>`
Mauricio Faria de Oliveira
mfo at canonical.com
Wed Jan 15 12:59:58 UTC 2020
Update on autopkgtests.
The only failure left was gfs2-utils, which is unrelated.
I just confirmed it's indeed unrelated (passes on i386 kernel, fails on amd64 kernel, same version), and reported bug 1859827 to work on it.
The failure started to happen because the i386 kernels are no longer built/available.
This should be good to go now.
cheers,
Mauricio
- i386/i686)
# uname -rvm
5.3.0-13-generic #14-Ubuntu SMP Tue Sep 24 02:43:47 UTC 2019 i686
root at sf256930ei:~# gfs2_jadd -j 1 /mnt
Filesystem: /mnt
Old journals: 2
New journals: 3
- amd64/x86_64)
# uname -rvm
5.3.0-13-generic #14-Ubuntu SMP Tue Sep 24 02:46:08 UTC 2019 x86_64
# gfs2_jadd -j 1 /mnt
GETFLAGS: Inappropriate ioctl for device
--
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