On Thu, 1 Aug 2002 [EMAIL PROTECTED] 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