8.1 prerelease i386 - sshd fails

Did an upgrade from 8.0 stable to 8.1 prerelease this morning.
Code:
uname -a
FreeBSD t30.test.com 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #1: Sun Jun 27 06:25:45 PDT 2010     
[email]d@t30.test.com[/email]:/usr/obj/usr/src/sys/GENERIC  i386

Everything appears OK, except for ssh.

Starting sshd.
Code:
/libexec/ld-elf.so.1: Undefined symbol "ssh_compat13" referenced from COPY relocation in /usr/sbin/sshd
/etc/rc.d/sshd: WARNING: failed to start sshd
 
I have done this for several years:
Code:
cvsup
make buildworld
make buildkernel
make installkernel
Reboot into single user mode
mergemaster -p
make installworld
mergemaster
reboot
 
Remove any compiler options if you have them in /etc/make.conf and rebuild.
 
I did another cvsup and build.
Same problem. The only compile options I use are here, I also time
the builds.

time sh -c 'make buildworld KERNEL_FLAGS=-j4 WORLD_FLAGS=-j4'

and here:
time sh -c 'make buildkernel KERNEL_FLAGS=-j4 WORLD_FLAGS=-j4'

I still have the same problem with starting sshd.
I think the problem is here:
Code:
t30# ls -l /libexec/ld-elf.so.1
-r-xr-xr-x  1 root  wheel  220020 Jun 27 06:42 /libexec/ld-elf.so.1
t30# ls -l /usr/sbin/sshd
-r-xr-xr-x  1 root  wheel  233156 Jun 28 18:27 /usr/sbin/sshd
The timestamp for sshd is correct, how can the ld-elf.so.1 be timestamped from yesterday?
 
rdunkle said:
I did another cvsup and build.
Same problem. The only compile options I use are here, I also time
the builds.

time sh -c 'make buildworld KERNEL_FLAGS=-j4 WORLD_FLAGS=-j4'

Why not just
# /usr/bin/time -h make -j4 buildworld

I still have the same problem with starting sshd.
Code:
-r-xr-xr-x  1 root  wheel  220020 Jun 27 06:42 /libexec/ld-elf.so.1
-r-xr-xr-x  1 root  wheel  233156 Jun 28 18:27 /usr/sbin/sshd

The timestamp for sshd is correct, how can the ld-elf.so.1 be timestamped from yesterday?

From a PR, it looks like it's only installed if there's a difference. Misleading, but not a problem.

Have you installed one of the openssh ports that may be broken?
 
no openssh ports installed

I tried to see if I could compile again
Code:
cd /usr/src/libexec/rtld-elf
make clean
make
make install
That did not report errors or change the timestamp on ld-elf.so.1
 
It doesn't look like rtld-elf to me, but something in sshd. It's built from /usr/src/secure/usr.sbin/sshd/.
 
I compiled and installed sshd. Still have the same problem.
Looks like I will have to do a clean install from disk again.
 
Please look at the dates LiSergey, this thread is more than two years old.
 
I self recently faced with this just the same issue.
I found an answer at another forum, and didn't find it here. why no to help anybody else who might have the same?
 
Back
Top