On Sat, 2021-06-12 at 18:19 -0600, Joe Zeff wrote:
On 6/12/21 4:46 PM, Patrick O'Callaghan wrote:
I've masked it and rebooted. Makes no difference to boot time in my case.
Have you checked with systend-analyze blame again to see what else might be delaying your boot?
I'm 99% certain it's being caused by my external USB dock starting up. See my reply to Ed. The dock is not mounted at boot, but has a BTRFS filesystem that (possibly) the kernel insists on checking before the rest of the startup can proceed. This is speculation at the moment.
systemd-analyze blame shows a long delay in a unit I created to automatically power down the dock if it's not mounted:
$ systemd-analyze blame|head 4min 18.016s dock-watch.service 30.517s systemd-udev-settle.service 15.273s logrotate.service 6.274s NetworkManager-wait-online.service 5.765s raid.mount 5.452s plymouth-quit-wait.service 5.038s akmods.service 4.541s upower.service 4.427s sssd.service
I've uploaded the dock-watch unit and the scripts it calls, together with the automount unit, to:
https://drive.google.com/drive/folders/1BT5w4u7TzBmWbhx97sWvfOErCIUylrik?usp...
poc