My PC is running Debian Buster, and it's boot time seems to be slowed down by
keyboard-setup.service. I understand that this is involved in setting up the keyboard for use at the console. The output of
systemd-analyze blame is as below. I've checked it a number of times and it's always been similar.
5.549s keyboard-setup.service 5.063s dev-sda2.device 4.140s udisks2.service 3.565s accounts-daemon.service 3.487s console-kit-log-system-start.service
This makes me wonder why I need to spend 5.5 seconds setting up my keyboard every time I boot. Is keyboard-setup supposed to be this slow?
If yes, then why? What's it doing? And is it safe to just disable it?
If no, then what's going wrong and how should I go about fixing it?
graphical.target @17.385s └─gdm.service @15.588s +1.797s └─rc-local.service @15.476s +110ms └─network.target @15.475s └─networking.service @14.971s +502ms └─apparmor.service @8.262s +3.147s └─local-fs.target @8.256s └─boot-efi.mount @8.000s +255ms └─local-fs-pre.target @7.971s └─keyboard-setup.service @2.421s +5.549s └─systemd-journald.socket @2.420s └─system.slice @2.417s └─-.slice @2.186s