You are not logged in.
Hi,
recently systemctl started to complain about missing units when using autocompletion with tab key.
Here's an example:
sudo systemctl start reUnit display-manager.service could not be found.when I press tab it throws the "Unit..."
It happens with other units as well, for example auditd.
In that case I simply installed audit and it solved for it but now it complains about display-manager.
I am pretty sure that installing a service that I don't need can't be a sensible solution,
therefore I hope you will have some better suggestion!
Offline
I don't understand what this has to do with systemctl, it sounds like whatever autocompletion feature you have for your shell is broken.
Transhumanist, amateur programmer and Linux enthusiast.
Offline
Perhaps you have a broken symlink (most likely /etc/systemd/system/display-manager.service) after removing a DM without disabling it first?
Offline
I don't understand what this has to do with systemctl, it sounds like whatever autocompletion feature you have for your shell is broken.
I just have bash-completion[extra] installed and never modified anything so I don't think the problem
is due to that.
Perhaps you have a broken symlink (most likely /etc/systemd/system/display-manager.service) after removing a DM without disabling it first?
That's a good point but I don't have any display-manager.service in /etc/systemd/system/
Edit: I just want to add that it happens only when I try to complete systemctl start and not enable, stop or others.
Last edited by positronik (2016-09-15 13:35:05)
Offline
A quick google search led me to: https://github.com/systemd/systemd/issues/4114
Offline
This was discussed earlier: https://bbs.archlinux.org/viewtopic.php?id=215907
Offline