My ubuntu system is taking over a minute to boot up. I have checked
systemd-analyze and it is the userspace that is taking this much time alone. I have already checked other similar problems on askubuntu and else but nothing has worked. I have disabled wayland but to no effect.
$ systemd-analyze Startup finished in 3.924s (firmware) + 4.194s (loader) + 4.731s (kernel) + 1min 3.616s (userspace) = 1min 16.466s graphical.target reached after 1min 2.908s in userspace
This time it is little fast (usually it takes 1min 30-40s).
$ systemd-analyze blame 30.726s plymouth-quit-wait.service 18.379s systemd-journal-flush.service 13.680s networkd-dispatcher.service 8.956s udisks2.service 7.800s dev-sda5.device 7.009s libvirtd.service 6.799s accounts-daemon.service 6.638s NetworkManager.service 5.179s polkit.service 4.520s avahi-daemon.service 4.433s ModemManager.service 4.237s gpu-manager.service 4.105s switcheroo-control.service 4.093s thermald.service 4.083s wpa_supplicant.service 4.078s systemd-logind.service 4.071s systemd-machined.service 3.682s systemd-fsck@dev-disk-by\x2duuid-6CF4\x2dF74D.service 3.478s rsyslog.service 3.396s systemd-resolved.service 2.933s apport.service 2.679s grub-common.service 2.250s gdm.service 1.829s e2scrub_reap.service 1.776s apparmor.service 1.510s systemd-tmpfiles-setup.service 1.508s systemd-backlight@backlight:intel_backlight.service 1.489s media-avatar\x2dhiro-Data.mount 1.452s systemd-udevd.service
Here it is mentioned
plymouth-quit-wait.service is not the main culprit. and I have checked and configured the
systemd-journal-flush.service from here. There are no external peripherials connected (I am on laptop). I am on the end of my rope.
P.S. I have installed Ubuntu 20.04 couple of months ago on the same machine and it worked great. Then I moved to windows temporarily. I moved to Ubuntu 20.04 as my primary os last week and this problem comes up for the first time.