Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 534202

Summary: sys-apps/systemd-216-r2: bash-completion Failed to get properties: Unit name autovt@.service is not valid.
Product: Gentoo Linux Reporter: Garry Filakhtov <filakhtov>
Component: [OLD] Core systemAssignee: Gentoo systemd Team <systemd>
Status: RESOLVED FIXED    
Severity: minor CC: alexander, c, filakhtov
Priority: Normal    
Version: autobuilds   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fix systemctl errors on Tab competion for "restart" and "isolate"

Description Garry Filakhtov 2015-01-01 13:27:59 UTC
Created attachment 392850 [details, diff]
Fix systemctl errors on Tab competion for "restart" and "isolate"

Happy new year everyone!

I've updated systemd to 216-r2 and discovered a minor bug in bash-completion.

"Failed to get properties: Unit name autovt@.service is not valid." error message occurs whenever I'm typing "systemctl restart" or "systemctl isolate" and press "Tab" for completion.

I've attached proposed patch for /usr/share/bash-completion/systemctl
Comment 1 Mike Gilbert gentoo-dev 2015-01-01 17:08:29 UTC
There are a number of improvements to the bash completions for systemd in more recent versions. I don't think it is worth the effort to backport them.

Please upgrade to systemd-218+ if you want the fixes.
Comment 2 Pacho Ramos gentoo-dev 2015-09-07 18:38:49 UTC
Completion looks to work ok with 225
Comment 3 Pacho Ramos gentoo-dev 2015-09-07 18:39:09 UTC
*** Bug 536958 has been marked as a duplicate of this bug. ***