slow completion for systemd units
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd |
Fix Released
|
Unknown
|
|||
bash-completion (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Xenial |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Invalid
|
Undecided
|
Unassigned | ||
systemd (Ubuntu) |
Fix Released
|
Medium
|
Dan Streetman | ||
Xenial |
Won't Fix
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Dan Streetman |
Bug Description
[impact]
systemctl tab completion is annoyingly slow.
[test case]
on a bionic system:
$ systemctl status systemd-<tab>
any unit can be used, or even <tab> before specifying any unit name chars.
That will hang for sometimes a few seconds.
[regression potential]
this updates systemctl bash completion, so any regression would likely result in systemctl command misbehaving; most likely, failure to tab-complete.
[scope]
This is needed for Bionic and Xenial, however I am not currently planning to fix this for Xenial.
This is fixed by upstream commit f28255e2d5695b0
[original description]
Pressing <kbd>Tab</kbd> after entering `sudo systemctl status [existing service name without .service suffix]` into console it takes up to 5 seconds until the auto-completion completes. Until then the cursor can't be moved.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: bash-completion 1:2.1-4.1ubuntu2
Uname: Linux 4.2.5-040205-
NonfreeKernelMo
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
Date: Thu Dec 24 21:04:41 2015
InstallationDate: Installed on 2015-04-20 (248 days ago)
InstallationMedia: Ubuntu-Server 14.10 "Utopic Unicorn" - Release amd64 (20141022.2)
PackageArchitec
ProcEnviron:
TERM=screen
PATH=(custom, no user)
XDG_RUNTIME_
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: bash-completion
UpgradeStatus: Upgraded to wily on 2015-10-26 (59 days ago)
Changed in systemd: | |
status: | Unknown → Fix Released |
description: | updated |
description: | updated |
Changed in systemd (Ubuntu Xenial): | |
status: | New → Won't Fix |
Changed in bash-completion (Ubuntu Xenial): | |
status: | New → Invalid |
Status changed to 'Confirmed' because the bug affects multiple users.