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

Разное в freebsd-version и uname -a

29 views
Skip to first unread message

Alexander Kruglikov

unread,
Dec 21, 2023, 12:15:02 AM12/21/23
to
Привет, All!

Подскажите, почему такой $SUBJ может быть? Иногда после обновления
расходятся показания.

[root@fidonode ~]# freebsd-update fetch
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 14.0-RELEASE from update1.freebsd.org...
done.
Fetching metadata index... done.
Fetching 2 metadata patches.. done.
Applying metadata patches... done.
Fetching 2 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 7 patches.... done.
Applying patches... done.
The following files will be updated as part of updating to
14.0-RELEASE-p4:
/bin/freebsd-version
/usr/bin/slogin
/usr/bin/ssh
/usr/bin/ssh-keyscan
/usr/lib/libprivatessh.a
/usr/lib/libprivatessh.so.5
/usr/libexec/ssh-keysign
/usr/sbin/sshd

[root@fidonode ~]# freebsd-update install
src component not installed, skipped
Installing updates...
Restarting sshd after upgrade
Performing sanity check on sshd configuration.
Stopping sshd.
Waiting for PIDS: 939.
Performing sanity check on sshd configuration.
Starting sshd.
Scanning /usr/share/certs/untrusted for certificates...
Scanning /usr/share/certs/trusted for certificates...
Scanning /usr/local/share/certs for certificates...
done.

[root@fidonode ~]# freebsd-version
14.0-RELEASE-p4

[root@fidonode ~]# uname -a
FreeBSD fidonode.around.home 14.0-RELEASE-p3 FreeBSD 14.0-RELEASE-p3 #0:
Mon Dec 11 04:54:25 UTC 2023
ro...@amd64-builder.daemonology.net:/usr/obj/usr/src/i386.i386/sys/GENERIC i386

--
С наилучшими пожеланиями, Alexander.

Evgeny Chevtaev

unread,
Dec 21, 2023, 4:00:02 AM12/21/23
to
Hi Alexander!

Thursday December 21 2023 08:01, Alexander Kruglikov wrote to All:

AK> [root@fidonode ~]# freebsd-version
AK> 14.0-RELEASE-p4
AK> [root@fidonode ~]# uname -a
AK> FreeBSD fidonode.around.home 14.0-RELEASE-p3 FreeBSD 14.0-RELEASE-p3

В первом случае тебе показало версию юзерленда, во втором - версию ядра.
Обновление p4 затронуло только sshd и ядро не изменилось. Потому вот как-то
так.

With best regards,
Evgeny

Alexander Kruglikov

unread,
Dec 21, 2023, 4:05:02 PM12/21/23
to
Привет, Evgeny!

Чт 21.12.23 11:51, Evgeny Chevtaev пишет:

AK>> [root@fidonode ~]# freebsd-version
AK>> 14.0-RELEASE-p4
AK>> [root@fidonode ~]# uname -a
AK>> FreeBSD fidonode.around.home 14.0-RELEASE-p3 FreeBSD
AK>> 14.0-RELEASE-p3
EC> В первом случае тебе показало версию юзерленда, во втором -
EC> версию ядра. Обновление p4 затронуло только sshd и ядро не
EC> изменилось. Потому вот как-то так. With best regards, Evgeny

Блин. Мог бы и сам догадаться.
Вот что бывает, когда не пьешь.

Спасибо!

Dmitriy Smirnov

unread,
Dec 23, 2023, 5:15:02 AM12/23/23
to
hi, Alexander!

21 Dec 23 23:55, Alexander Kruglikov wrote to Evgeny Chevtaev:

AK>>> [root@fidonode ~]# freebsd-version
AK>>> 14.0-RELEASE-p4
AK>>> [root@fidonode ~]# uname -a
AK>>> FreeBSD fidonode.around.home 14.0-RELEASE-p3 FreeBSD
AK>>> 14.0-RELEASE-p3
EC>> В первом случае тебе показало версию юзерленда, во втором -
EC>> версию ядра. Обновление p4 затронуло только sshd и ядро не
EC>> изменилось. Потому вот как-то так. With best regards, Evgeny

AK> Блин. Мог бы и сам догадаться.

о чем, как бэ, в мане чётким ангельским написано: If neither is specified, it
will print the userland version only.

зы: ты не одинок, за последние несколько дней много^Wдостаточно подобных
вопросов freebsd-version vs uname, видать какие-то вспышки на солнце =)

wbr, Dmitriy.
0 new messages