Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 534202 - sys-apps/systemd-216-r2: bash-completion Failed to get properties: Unit name autovt@.service is not valid.
Summary: sys-apps/systemd-216-r2: bash-completion Failed to get properties: Unit name ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
: 536958 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-01-01 13:27 UTC by Garry Filakhtov
Modified: 2015-09-07 18:39 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix systemctl errors on Tab competion for "restart" and "isolate" (systemctl-bash-completion.patch,1.15 KB, patch)
2015-01-01 13:27 UTC, Garry Filakhtov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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. ***