Bug 865467 - systemctl bash completion not working for newly installed packages
Summary: systemctl bash completion not working for newly installed packages
Keywords:
Status: CLOSED DUPLICATE of bug 790768
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 18
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-11 14:10 UTC by Martin Kolman
Modified: 2012-10-30 21:07 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-10-30 21:07:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Martin Kolman 2012-10-11 14:10:07 UTC
Description of problem:
when a new service package is installed, bash completion for it is not working


Version-Release number of selected component (if applicable):
18

How reproducible:
always

Steps to Reproduce:
1. install tuned: yum install tunes tuned-utils
2. type: systemctl start tu
3. press TAB
  
Actual results:
nothing happens

Expected results:
the command is autocompleted to "systemctl start tuned.service"

Additional info:

Comment 1 Martin Kolman 2012-10-11 14:23:43 UTC
Looks like "systemctl stop tu" is autocompleted correctly to "systemctl stop tuned". Still no luck with "systemctl start tu" though.

Comment 2 Ville Skyttä 2012-10-14 13:52:02 UTC
systemctl completion is shipped by systemd, not bash-completion.

Comment 3 Michal Schmidt 2012-10-15 12:55:37 UTC
This can be either considered a symptom of bug 748512, or someone should fix systemd's bash completion to not rely on "systemctl list-units --all".

Comment 4 Lennart Poettering 2012-10-30 21:07:55 UTC

*** This bug has been marked as a duplicate of bug 790768 ***


Note You need to log in before you can comment on or make changes to this bug.