Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#50403 - [systemd] systemctl start command showing not-found service when using bash-completion feature
Attached to Project:
Arch Linux
Opened by Leonardo Santana Vieira (leosanvieira) - Monday, 15 August 2016, 16:53 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 08 October 2016, 18:29 GMT
Opened by Leonardo Santana Vieira (leosanvieira) - Monday, 15 August 2016, 16:53 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 08 October 2016, 18:29 GMT
|
DetailsDescription:
Every time i try starting a service and autocompleting it's name in bash, issuing a command like 'systemctl start reflector.service', it shows a message about a not-found service like below. systemctl start refUnit auditd.service could not be found. lector.service I tried masking auditd.service but then it just showed 'Unit plymouth-quit-wait.service could not be found.' instead. It seems it's following the list of not-found services below. systemctl --all --state=not-found UNIT LOAD ACTIVE SUB DESCRIPTION ● auditd.service not-found inactive dead auditd.service ● plymouth-quit-wait.service not-found inactive dead plymouth-quit-wait.service ● plymouth-quit.service not-found inactive dead plymouth-quit.service ● plymouth-start.service not-found inactive dead plymouth-start.service ● rc-local.service not-found inactive dead rc-local.service ● syslog.service not-found inactive dead syslog.service As a temporary workaround, i masked all not-found services and that solved the issue. But i don't think bash-completion showing this message concatenated inside the actual command is the right behaviour. Before anyone asks, this is a new install and none of the services have been installed or uninstalled manually before. Additional info: systemctl --version systemd 231 +PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN Steps to reproduce: Try bash autocomplete feature issuing 'systemctl start' command with any service name and having not-found services as described above. |
This task depends upon
Closed by Dave Reisner (falconindy)
Saturday, 08 October 2016, 18:29 GMT
Reason for closing: Fixed
Additional comments about closing: systemd-231-4
Saturday, 08 October 2016, 18:29 GMT
Reason for closing: Fixed
Additional comments about closing: systemd-231-4
https://github.com/systemd/systemd/commit/bd5b9f0a12dd9c1947b11534e99c395ddf44caa9