Fedora 25 启动太慢

Fedora 25 启动太慢

我有一个运行最新更新内核的 Fedora 25。

问题是 Fedora 需要将近 3 分钟才能启动。

以下是输出systemd-analyse

Startup finished in 4.075s (kernel) + 3.580s (initrd) + 3min 19.186s (userspace) = 3min 26.841s

以下是输出systemd-analyse blame

3min 124ms abrtd.service
         29.022s plymouth-quit-wait.service
         10.230s libvirtd.service
         10.216s firewalld.service
         10.123s lvm2-monitor.service
          9.486s systemd-journald.service
          8.749s NetworkManager-wait-online.service
          8.394s systemd-udev-settle.service
          8.051s dev-mapper-fedora\x2droot.device
          7.263s dnf-makecache.service
          5.738s packagekit.service
          5.239s lvm2-pvscan@8:4.service
          4.933s accounts-daemon.service
          2.914s mnt-Personal.mount
          2.630s ModemManager.service
          2.440s proc-fs-nfsd.mount
          2.440s cups.service
          2.112s systemd-journal-flush.service
          2.067s gssproxy.service
          1.988s polkit.service
          1.982s fedora-readonly.service
          1.795s systemd-binfmt.service
          1.661s systemd-udevd.service
          1.598s livesys.service
          1.598s switcheroo-control.service
          1.514s systemd-logind.service
          1.475s NetworkManager.service
          1.428s swapfile.swap
          1.340s proc-sys-fs-binfmt_misc.mount
          1.333s auditd.service
          1.226s systemd-tmpfiles-setup-dev.service
           940ms rtkit-daemon.service
           938ms bluetooth.service
           897ms rpc-statd-notify.service
           845ms systemd-tmpfiles-clean.service
           763ms wpa_supplicant.service
           760ms chronyd.service
           741ms systemd-sysctl.service
           691ms [email protected]
           661ms gdm.service
           610ms colord.service
           580ms tlp.service

我认为abrtd.service这就是罪魁祸首。我的gnome-abrt报告显示我的电脑上有近 3000 个问题,最近的一个问题大约是 2 个月前出现的。

我该如何解决。

PS:请告诉我还需要包含哪些其他输出。

答案1

首先要做的是停止并禁用该abrt服务,看看是否可以将系统启动时间减少到可接受的值。

# systemctl stop abrtd.service
# systemctl disable abrtd.service

相关内容