Hello,
I've been netbooting and having trouble getting the SSH server enabled with a ssh file.
It seems that mounting the boot filesystem into /boot over NFS takes long enough that sshswitch runs before /boot is mounted and therefore sees the empty /boot directory when it looks for the ssh file.
Check the diagram above, where boot.mount begins sometime after sshswitch.
I successfully worked around the problem by putting an ssh file in both the boot filesystem and also in /boot in the root filesystem, but I think this PR is the proper fix.
Hello, I've been netbooting and having trouble getting the SSH server enabled with a
ssh
file. It seems that mounting the boot filesystem into /boot over NFS takes long enough thatsshswitch
runs before /boot is mounted and therefore sees the empty /boot directory when it looks for thessh
file. Check the diagram above, where boot.mount begins sometime after sshswitch.I successfully worked around the problem by putting an ssh file in both the boot filesystem and also in /boot in the root filesystem, but I think this PR is the proper fix.