[Bug 1529152] Re: slow completion for systemd units

Dan Streetman ddstreet at canonical.com
Sat May 9 13:22:12 UTC 2020


** Description changed:

+ [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]
+ 
+ TBD
+ 
+ [scope]
+ 
+ TBD
+ 
+ [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-generic x86_64
  NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
  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)
  PackageArchitecture: all
  ProcEnviron:
-  TERM=screen
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=de_DE.UTF-8
-  SHELL=/bin/bash
+  TERM=screen
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=de_DE.UTF-8
+  SHELL=/bin/bash
  SourcePackage: bash-completion
  UpgradeStatus: Upgraded to wily on 2015-10-26 (59 days ago)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/1529152

Title:
  slow completion for systemd units

Status in systemd:
  Fix Released
Status in bash-completion package in Ubuntu:
  Invalid
Status in systemd package in Ubuntu:
  Fix Released
Status in bash-completion source package in Bionic:
  Invalid
Status in systemd source package in Bionic:
  In Progress

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]

  TBD

  [scope]

  TBD

  [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-generic x86_64
  NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
  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)
  PackageArchitecture: all
  ProcEnviron:
   TERM=screen
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: bash-completion
  UpgradeStatus: Upgraded to wily on 2015-10-26 (59 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/1529152/+subscriptions



More information about the foundations-bugs mailing list