FAI 2.4 upgrade problems
torkel at pdc.kth.se
Wed Mar 5 08:35:11 CET 2003
On Tue, 2003-03-04 at 22:27, Clemens Wehrmann wrote:
> I am having trouble debugging three problems with FAI 2.4. I have not used
> previous versions of FAI.
> 1. Installation of bootloader fails
> 2. Can't get shell after install or sysinfo (RETURN and Ctrl-C always
> 3. Can't ssh into the machine (Connection refused).
Are you setting SSH_IDENTITY in fai.conf? The file it's pointing to have
to be owned by root, and readable by root, and only root... otherwise
ssh will complain and not let you in. To solve it I added the following
to make-fai-nfs-root (might not apply cleanly as it is a cut'n'paste
RCS file: /cvs/debian-boot/fai/scripts/make-fai-nfsroot,v
retrieving revision 1.122
diff -u -r1.122 make-fai-nfsroot
--- scripts/make-fai-nfsroot 10 Feb 2003 12:22:30 -0000 1.122
+++ scripts/make-fai-nfsroot 5 Mar 2003 07:25:38 -0000
@@ -125,6 +140,8 @@
perl -pi -e 's/PermitRootLogin no/PermitRootLogin yes/' $NFSROOT/etc/ssh/sshd_config
if [ -f "$SSH_IDENTITY" ]; then
cp -p $SSH_IDENTITY $NFSROOT/root/.ssh/authorized_keys
+ chown root.root $NFSROOT/root/.ssh/authorized_keys
+ chmod og= $NFSROOT/root/.ssh/authorized_keys
echo You can log into install clients without password using $SSH_IDENTITY
> Looking at scripts/BOOT I notice that
> if LILO and MBR are defined, then lilo.conf contains boot= (blank);
> will lilo know this should be /dev/sda?
Try to add:
early in scripts/BOOT. That solved the problem with empty boot= for me.
More information about the linux-fai