SSHD fails to start on installclient in FAI 2.3.4
Cristian Ionescu-Idbohrn
cristian.ionescu-idbohrn at axis.com
Thu Aug 1 11:31:56 CEST 2002
On Thu, 1 Aug 2002 ole.schistad at zonavi.com wrote:
> Sshd complains about a missing /var/run/sshd and exits. Creating the
> directory manually fixes the problem, but then you have to log on
> locally first. Creating this directory in $nfsroot does not seem to
> work, probably because /var/run is linked to /tmp/ during install.
> Seems that one of the early install scripts need to create this dir
> (ie, before sshd is started) in order for remote logins to work -
> not familiar enough with the FAI scripts yet to know which script to
> modify, so .. any tips?
--- /usr/lib/fai/nfsroot/sbin/rcS_fai.org Tue Jul 9 11:56:19 2002
+++ /usr/lib/fai/nfsroot/sbin/rcS_fai Tue Jul 9 11:56:43 2002
@@ -129,7 +129,7 @@
}
# now create the required subdirectories
mkdir /tmp/var /tmp/etc /tmp/target
- cd /tmp/var && mkdir tmp log lock run spool
+ cd /tmp/var && mkdir tmp log lock run spool run/sshd
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Main routine
--------------------------------------------------------------------------
Cheers,
Cristian
More information about the linux-fai
mailing list