Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ssh install with freebsd-update

128 views
Skip to first unread message

Randy Bush

unread,
Jun 9, 2015, 7:34:48 PM6/9/15
to FreeBSD Stable
# uname -a
FreeBSD foux.psg.com 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 #0: Tue May 12 19:33:13 UTC 2015 ro...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386

it's really p11 now

if i run freebsd-update install of p11. all looks well until the
reboot, when i get

Performing sanity check on sshd configuration.
Shared object "libgssapi_krb5.so.10" not found, required by "sshd"
/etc/rc: WARNING: failed precmd routine for sshd

i have to go through the following

cd /usr/src/secure/lib/libssh
make install
cd /usr/src/secure/usr.sbin/sshd
make install
cd /usr/src/lib/libgssapi
make
make install
service sshd restart

and ssh works

this occurs on many systems

randy
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stabl...@freebsd.org"

Randy Bush

unread,
Jun 9, 2015, 8:22:15 PM6/9/15
to Xin Li, FreeBSD Stable, Allan Jude
>> # uname -a FreeBSD foux.psg.com 10.1-RELEASE-p10 FreeBSD
>> 10.1-RELEASE-p10 #0: Tue May 12 19:33:13 UTC 2015
>> ro...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
>> i386
>>
>> it's really p11 now
>>
>> if i run freebsd-update install of p11. all looks well until the
>> reboot, when i get
>>
>> Performing sanity check on sshd configuration. Shared object
>> "libgssapi_krb5.so.10" not found, required by "sshd" /etc/rc:
>> WARNING: failed precmd routine for sshd
>
> This is VERY strange! Did you ever have an incomplete upgrade from
> older FreeBSD releases (9.x) on the affected systems? What was the
> version before you update/upgrade to the latest one?

this is one of a dozen systems upgraded fom 9.3-stable to 10.1-release
p10 using a recipe in https://wiki.rg.net/wiki/FreeBSD9to10. they all
show the same symptom.

it was consistent for all of them. i was waiting for p11 to see if it
would fix it. it did not, at least for this first system i tried.

Randy Bush

unread,
Jun 9, 2015, 8:45:28 PM6/9/15
to Xin Li, FreeBSD Stable, Allan Jude
> My guess is that there was some fetched 'freebsd-update' upgrade data
> that was not applied, and the freebsd-update install have somehow
> confused by that.

any idea on how i can make it fresh? our suspicion is that we caught
the frebsd-update repo on a bad day and poisoned all the systems.

> BTW. the supported errata branch is releng/10.1, not release/10.1,
> which is probably why the svn co failed in step 1.

sorry

/usr/src# svn info
Path: .
Working Copy Root Path: /usr/src
URL: https://svn0.us-west.freebsd.org/base/releng/10.1
Relative URL: ^/releng/10.1
Repository Root: https://svn0.us-west.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 284195
Node Kind: directory
Schedule: normal
Last Changed Author: delphij
Last Changed Rev: 284193
Last Changed Date: 2015-06-09 22:13:25 +0000 (Tue, 09 Jun 2015)

Allan Jude

unread,
Jun 10, 2015, 12:24:42 PM6/10/15
to d...@delphij.net, Randy Bush, FreeBSD Stable, Allan Jude
On 06/09/2015 19:48, Xin Li wrote:
> Hi, Randy,
>
> On 06/09/15 16:34, Randy Bush wrote:
>> # uname -a FreeBSD foux.psg.com 10.1-RELEASE-p10 FreeBSD
>> 10.1-RELEASE-p10 #0: Tue May 12 19:33:13 UTC 2015
>> ro...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
>> i386
>
>> it's really p11 now
>
>> if i run freebsd-update install of p11. all looks well until the
>> reboot, when i get
>
>> Performing sanity check on sshd configuration. Shared object
>> "libgssapi_krb5.so.10" not found, required by "sshd" /etc/rc:
>> WARNING: failed precmd routine for sshd
>
> This is VERY strange! Did you ever have an incomplete upgrade from
> older FreeBSD releases (9.x) on the affected systems? What was the
> version before you update/upgrade to the latest one?
>
> Cheers,
>

What is the output of:
uname -KU

I am guessing your kernel is new, and your userland is old, as Xin Li said

--
Allan Jude

Randy Bush

unread,
Jun 10, 2015, 12:45:04 PM6/10/15
to Allan Jude, FreeBSD Stable, d...@delphij.net, Allan Jude
> uname -KU
>
> I am guessing your kernel is new, and your userland is old, as Xin Li said

# uname -KU
1001000 1001000
0 new messages