Bug 704782

Summary: systemd: systemctl bash completion doesn't work for systemctl restart systemd-kmsg-syslogd.service
Product: [openSUSE] openSUSE 12.1 Reporter: Jiri Slaby <jslaby>
Component: BasesystemAssignee: Frederic Crozat <fcrozat>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jiri Slaby 2011-07-09 07:45:10 UTC
# systemctl restart systemd-<TAB><TAB>
shows many systemd services, but not systemd-kmsg-syslogd.service.

Though if I do
# systemctl restart systemd-kmsg-syslogd.service
it works as expected -- the service is restarted.
Comment 1 Jiri Slaby 2011-07-09 07:45:47 UTC
Oops, I'm running on Tumbleweed:
# rpm -q bash systemd
bash-4.1-20.25.1.x86_64
systemd-29-9.1.x86_64
Comment 2 Jiri Slaby 2011-07-09 07:47:33 UTC
(In reply to comment #1)
> Oops, I'm running on Tumbleweed:

And it behaves the same on Factory.
Comment 3 Jiri Slaby 2011-07-12 08:28:47 UTC
And openvpn.service has the very same problem. So this is not bound only to one service.
Comment 4 Frederic Crozat 2011-08-02 08:32:23 UTC
bash completion script was using the "inactive services" list for restart instead of the "all possible services" list.

fixed in systemd Base:System package and in upstream git.