Created attachment 46886 [details] [review] One-line change to systemctl-bash-completion.sh The current bash completion script will only list inactive units when given a "STARTABLE_UNITS" verb. This is fine for the verb "start" but not for "restart" (which is also a "STARTABLE_UNITS" verb) since one presumably wants to be able to restart active units as well. Attached is a diff with a one-line change that corrects the behavior.
Appears to have been fixed at some point. /usr/share/bash-completion/completions/systemctl now uses __get_inactive_units for start and __get_all_units for restart.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.