Skip to content

ssh: sshdgenkeys: wait for config partition

Mikhail Vanyulin requested to merge sshdgenkeys-fix into kirkstone

Since we have the sshd keys on a separate read-only partition that is mounted in /etc/shared at boot time, we need to wait until it is available. Otherwise, the sshdgenkeys service will not find any existing keys and will waste time trying to create the new ones. This will slow down the boot process a bit.

Add /etc/shared to RequiresMountsFor in sshdgenkeys.service

Merge request reports