|Summary:||sshd is loaded too late in startup|
|Component:||conf||Assignee:||Kurt Jaeger <pi>|
|Severity:||Affects Only Me||CC:||cem, dch, dpetrov67, emaste, pi, will|
Description bc979 2014-06-01 22:24:02 UTC
sshd is started after many of the optional ports that could cause issues during boot. If one of them hangs, then you cannot get into the system to figure out what happened as sshd is not available yet. Environment: FreeBSD master.lafn.org 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 email@example.com:/usr/obj/usr/src/sys/GENERIC amd64 How-To-Repeat: Setup something in /usr/local/etc/rc.d that will not complete and boot the system. Fix: add the line: # BEFORE: mail to /etc/rc.d/sshd. That will cause sshd to load earlier in the sequence and it should be available if problems occur with one of the ports.
Comment 1 Kurt Jaeger 2015-09-23 11:04:00 UTC
Created attachment 161300 [details] move sshd earlier into the startup sequence
Comment 2 Kurt Jaeger 2015-09-23 11:07:46 UTC
See https://lists.freebsd.org/pipermail/freebsd-stable/2015-September/083403.html and follow-ups.
Comment 3 Conrad Meyer 2017-01-07 23:00:02 UTC
(In reply to Kurt Jaeger from comment #2) Several anecdotes; some suggestions and one concern (DES). But no objections to the principal. Can we go ahead and commit something?
Comment 4 Kurt Jaeger 2018-09-19 04:44:22 UTC