Description of problem:
Install docker on fedora25
as root, try to do a 'systemctl start docker.service' by just typing:
systemctl start docker<tab>
Now, you will not see the following 'completion':
"systemctl start dockerUnit fedora-autorelabel-mark.service could not be found."
After having started docker, try it again by typing:
systemctl start docke<tab>
Now, you get the following 'completion':
systemctl start dockeUnit cloud-init.service could not be found.
This only seems to happen when 'starting' services, esp. docker (did not try others) and is a bit annoying...
This bug is assigned to the wrong component. It should be changed to initscripts.
initscripts-9.69-1.fc25 contains the following links which points to files that doesn't exist:
lrwxrwxrwx. 1 root root 34 31. Aug 09:41 /usr/lib/systemd/system/basic.target.wants/fedora-autorelabel-mark.service -> ../fedora-autorelabel-mark.service
lrwxrwxrwx. 1 root root 29 31. Aug 09:41 /usr/lib/systemd/system/basic.target.wants/fedora-autorelabel.service -> ../fedora-autorelabel.service
The autorelabel service files was moved to package policycoreutils, and renamed.
The links in package initscripts should be changed to point to
The name of the bug should changed to something like "initscripts contains old links (fedora-autorelabel.service, fedora-autorelabel-mark.service)".
workaround by removing links and recreating them seems to solve the problem.
Renamed bug report and assigned it to initscripts
Sounds like a bug in our completion scripts too...
I adopted the workaround proposed by slartibart70, but as secondary effect I obtain that Fedora 25 reboots every 3 minutes about.
I made these links
ln -s /usr/lib/systemd/system/selinux-autorelabel.service /usr/lib/systemd/system/basic.target.wants/fedora-autorelabel.service
ln -s /usr/lib/systemd/system/selinux-autorelabel-mark.service /usr/lib/systemd/system/basic.target.wants/fedora-autorelabel-mark.service
After these Fedora reboots every 3 minutes about.
sorry, but you're not alone.
I only wanted to indicate that renaming fixes the problem with the commandline-completion, but, as you already found out, it has some side-effects ... :-(
Still waiting for the 'holistic' fix for the problem