自动完成功能在 Fedora 上不起作用

自动完成功能在 Fedora 上不起作用

我正在使用 Fedora 25。似乎使用 Tab 键在终端上自动完成功能不起作用。

例如,当我想要自动完成命令时,我收到此消息:

sudo systemctl 启动 httpd.ser找不到单位 apparmor.service

我检查了 systemD 状态并发现了这个

$ sudo systemctl --state=not-found --all
  UNIT                            LOAD      ACTIVE   SUB  DESCRIPTION
● apparmor.service                not-found inactive dead apparmor.service
● fedora-autorelabel-mark.service not-found inactive dead fedora-autorelabel-mark.service
● fedora-autorelabel.service      not-found inactive dead fedora-autorelabel.service
● ip6tables.service               not-found inactive dead ip6tables.service
● ipset.service                   not-found inactive dead ipset.service
● iptables.service                not-found inactive dead iptables.service
● libvirt-guests.service          not-found inactive dead libvirt-guests.service
● lvm2-activation-early.service   not-found inactive dead lvm2-activation-early.service
● lvm2-activation.service         not-found inactive dead lvm2-activation.service
● nfs-secure-server.service       not-found inactive dead nfs-secure-server.service
● ntpd.service                    not-found inactive dead ntpd.service
● ntpdate.service                 not-found inactive dead ntpdate.service
● plymouth-quit-wait.service      not-found inactive dead plymouth-quit-wait.service
● plymouth-quit.service           not-found inactive dead plymouth-quit.service
● plymouth-read-write.service     not-found inactive dead plymouth-read-write.service
● plymouth-start.service          not-found inactive dead plymouth-start.service
● rpc-svcgssd.service             not-found inactive dead rpc-svcgssd.service
● sntp.service                    not-found inactive dead sntp.service
● syslog.service                  not-found inactive dead syslog.service
● ypbind.service                  not-found inactive dead ypbind.service
● syslog.target                   not-found inactive dead syslog.target

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

21 loaded units listed.
To show all installed unit files use 'systemctl list-unit-files'.

有谁知道如何解决这个问题?我应该将报告发送给错误跟踪器吗?

答案1

发现 Redhat bug tracker 上已经报告了这一点 https://bugzilla.redhat.com/show_bug.cgi?id=1416588

它已经固定在生皮中。 Fedora 25 上还没有。

相关内容