Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2016 09:26:05 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        stable@freebsd.org
Subject:   sshd whines & dies after releng/10 "freebsd-update" run
Message-ID:  <20161016162605.GG1069@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--2NLGdgz3UMHa/lqP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

For most of my experience with FreeBSD (since 1998) and for most of my
machines, I build from source (either on the machine itself or a
dedicated "build machine"); this has been ... occasionally turbulent,
but overall, a fairly stable approach for me (and it's a great deal less
turbulent -- usually! -- now than it was a decade ago).

However, I have one machine that is pretty much dedicated to one
specific function, and for it, I thought I'd try freebsd-update.

And over the last year or so, it's worked pretty well:  I have the
machine set up (as is usually my approach) to be able to boot from
either of a couple of slices.  I use a "dump | restore" pipeline
to copy the / and /usr file systems from the "active" slice to the
"inactive" slice, adjust /etc/fstab on the inactive slice to reflect
reality for when it's the boot slice, then (while the file systemms
=66rom the other slice are still mounted -- e.g., on /S2) run
"freebsd-update -b /S2 fetch install", then reboot from the
newly-updated slice.

In the past, that's Just Worked.

This weekend, though, I was planning to update my other systems tfrom
stable/10 to stable/11, so I figured I'd try freebsd-update on this
machine first.

But before I tried going to stable/11, I thought it might be good to
first get to the latest releng/10.

Running freebsd-update seemed to go well.  I rebooted from the updated
slice... and found that I could not ssh to the machine.  (I only
physically login to a machine other than my laptop if there's a problem
that's so bad that I can't login from the laptop....)

And I found that sshd wasn't running.  Indeed, on attempting to start it
by hand:

root@sisboombah: # service sshd start
Performing sanity check on sshd configuration.
Undefined symbol "ssh_compat13" referenced from COPY relocation in /usr/sbi=
n/sshd
/etc/rc.d/sshd: WARNING: failed precmd routine for sshd

Attempting to start it in "debug" mode was of no help:

root@sisboombah:/tmp # `which sshd` -d
Undefined symbol "ssh_compat13" referenced from COPY relocation in /usr/sbi=
n/sshd

Any clues?

I have placed both a typescript of the freebsd-update run (actually, a
pair of them: one yesterday; another, today), as well as a typescript
=66rom some poking around a bit, under
<http://www.catwhisker.org/~david/FreeBSD/freebsd-update/>.

Thanks!

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Those who would murder in the name of God or prophet are blasphemous coward=
s.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--2NLGdgz3UMHa/lqP
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAEBCgBmBQJYA6odXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix
NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4XV6EH/AvpHlmKFSmZWK4DJyPHkmSb
ICqo+WHgnkR5QBvgVeYqMRsFB6mgNjJ92ZpW7XRaVnAs1L9TSZau8jbrSsrfmJ4E
SolsMp8UmGNfFQCWC2ZVSt+fw1hI2Ly+BVPTq4kiUlH/9OQt0Roazf/Cn9cpxDBn
eYc3HUQCOiKw2lZdU9k9WSSlxmkayamuuRwLcLD/sdNseXBR9qQ7B/doJsSlkSlg
WjvnYqrefU/Uv055SwBIVZvAkXGbdBHLEIeP4n1FRlDEDo2465r/uoRuc+984onS
JfiBwWBTOnhDaynvfMyv9TCYTCw3UoX2CeleDeQC55YGGimeD16IpJj2X3ut8Zk=
=iACX
-----END PGP SIGNATURE-----

--2NLGdgz3UMHa/lqP--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161016162605.GG1069>