Solved makeworld

I can not use freebsd-update,pkg upgarade..>_>
So, I used patch command.
It took about 2 hours 30 minutes.
I tried three times. But it is still 11.0-RELEASE-p8.

https://www.freebsd.org/security/advisories/FreeBSD-SA-17:03.ntp.asc

I did the following commands.


# cd /usr/src
# patch < ntp-11.0.patch
# chflags -R noschg /usr/obj/*
# rm -rf /usr/obj
# cd /usr/src
# make buildworld
# make buildkernel
# make installkernel
# shutdown now
# zfs set readonly=off zroot
# zfs mount -a
# adjkerntz -i
# mergemaster -p
# cd /usr/src
# make installworld
# mergemaster -iF
# make delete-old
# reboot


https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html


root@FreeBSD:~ # freebsd-version
[URL='https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html'][/URL]
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

Code:
11.0-RELEASE-p8


root@FreeBSD:~ # uname -ar


Code:
FreeBSD FreeBSD.example.ne.jp 11.0-RELEASE-p8 FreeBSD 11.0-RELEASE-p8 #0: Fri Apr 14 13:56:28 JST 2017     root@FreeBSD.example.ne.jp:/usr/obj/usr/src/sys/GENERIC  amd64
 
From my understanding the patch fixes only the section with the issue. To update everything you should update the complete tree in /usr/src first.
 
If you're going to do the whole buildworld stanza I recommend using svnlite(1) to fetch the sources. That will give you the complete set, including security and errata patches.

svnlite co https://svn.freebsd.org/base/releng/11.0 /usr/src/
(Make sure /usr/src/ is empty before doing this)

Keep it up to date with svnlite update /usr/src/.
 
If you're going to do the whole buildworld stanza I recommend using svnlite(1) to fetch the sources. That will give you the complete set, including security and errata patches.

svnlite co https://svn.freebsd.org/base/releng/11.0 /usr/src/
(Make sure /usr/src/ is empty before doing this)

Keep it up to date with svnlite update /usr/src/.

I wrote,.........
I can not use freebsd-update,pkg upgarade..>_>
So, I used patch command.
Perhaps, It would be IPv6 problem.
I can not use any command from this computer to "www.freebsd.org" now.
I can only access here via web browser. lol

But FreeBSD on VIrtualBox can do everything.
I used svnlite to get /usr/src on VirtualBox.
I used it for this computer.
I only compiled Kernel.


root@FreeBSD:~ # uname -ar


Code:
FreeBSD FreeBSD.example.ne.jp 11.0-RELEASE-p9 FreeBSD 11.0-RELEASE-p9 #1: Fri Apr 14 18:37:21 JST 2017     root@FreeBSD.example.ne.jp:/usr/obj/usr/src/sys/GENERIC  amd64


root@FreeBSD:~ # freebsd-version-ku


Code:
11.0-RELEASE-p9
11.0-RELEASE-p8

.......perhaps, Okay?
 
No, you only updated the kernel, not world. And it's the "world" that has the issue, not the kernel.

Note that if you don't use ntpd(8) you won't be affected by it.

It took about three hours to do world. >_>.
Finally,I got same output. Thank you.


root@FreeBSD:~ # freebsd-version -ku


Code:
11.0-RELEASE-p9
11.0-RELEASE-p9
 
Back
Top