[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
Tue Jan 14 17:51:39 UTC 2020
Looked at the remaining autopkgtest failures for util-linux/eoan [1]:
util-linux
Regression in autopkgtest for sbd (i386): test log
Regression in autopkgtest for gfs2-utils (i386): test log
Regression in autopkgtest for network-manager (ppc64el): test log
- sbd/i386:
passed with retries [2]
- network-manager/ppc64el:
passed with retries [3]
- gfs2-utils/i386:
failure is unrelated to this change.
there's an ioctl() failing w/ ENOTTY from the kernel (see strace below)
so it's unrelated to this change to bash autocompletion.
it's reproducible w/ util-linux from eoan-updates,
thus not a regression from eoan-proposed.
i'll try to look at this,
but this should not block this SRU any longer.
root at autopkgtest:~# strace -e ioctl gfs2_jadd -j 1 /mnt2
ioctl(5, FS_IOC32_GETFLAGS or FS_IOC_GETFLAGS, 0xffb9d568) = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(6, TCGETS, {B9600 opost isig icanon echo ...}) = 0
GETFLAGS: Inappropriate ioctl for device
+++ exited with 1 +++
root at autopkgtest:~# dpkg -s util-linux | grep -i version:
Version: 2.34-0.1ubuntu2
cheers,
Mauricio
[1] https://people.canonical.com/~ubuntu-archive/pending-sru.html
[2] https://autopkgtest.ubuntu.com/packages/sbd/eoan/i386
sbd [eoan/i386]
1.4.0-18-g5e3283c-1ubuntu1 util-linux/2.34-0.1ubuntu2.1 2020-01-14 13:02:27 UTC 0h 16m 07s mfo pass
[3] https://autopkgtest.ubuntu.com/packages/network-manager/eoan/ppc64el
network-manager [eoan/ppc64el]
1.20.4-2ubuntu2 util-linux/2.34-0.1ubuntu2.1 2020-01-14 13:06:12 UTC 0h 20m 00s mfo pass
--
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