freebsd-update question

Jason Unovitch jason.unovitch at gmail.com
Mon Mar 23 23:45:59 UTC 2015


On Mon, Mar 23, 2015 at 7:37 PM, William A. Mahaffey III <wam at hiwaay.net> wrote:
>
>
> I just tried to do a freebsd-update from 9.3-RELEASE-p9 to 9.3-RELEASE-p12.
> It only got as far as 9.3-RELEASE-p10, which I am running as I write this. I
> was ruinning the update from the console, so I didn't catch most of the
> output, but I can recreate the important parts here (I think):
>

uname(1) would still reflect the kernel version as -p10 as -p11 and
-p12 were for the recent OpenSSL updates in SA-15:06 (link below).
This is a reason for freebsd-version(1) being introduced in 10.0+ to
reduce confusion on userland/kernel versions.

https://www.freebsd.org/security/advisories/FreeBSD-SA-15:06.openssl.asc

>
> [root at kabini1, /etc, 6:33:45pm] 323 % freebsd-update fetch
> Looking up update.FreeBSD.org mirrors... 5 mirrors found.
> Fetching metadata signature for 9.3-RELEASE from update5.freebsd.org...
> done.
> Fetching metadata index... done.
> Inspecting system... done.
> Preparing to download files... done.
>
> The following files will be added as part of updating to 9.3-RELEASE-p12:
> /usr/src/contrib/tzdata/zone1970.tab
> /usr/src/crypto/openssl/crypto/constant_time_locl.h
> /usr/src/crypto/openssl/crypto/constant_time_test.c
> /usr/src/crypto/openssl/doc/ssl/SSL_CTX_set_tlsext_ticket_key_cb.pod
> /usr/src/crypto/openssl/test/constant_time_test.c
> /usr/src/secure/lib/libssl/man/SSL_CTX_set_tlsext_ticket_key_cb.3
>  whew !!!! that took (24.262 cpu + 8.140 sys) sec., 0:32.91 elapsed time
> tot, 98.4% CPU efficiency
>         (22 text, 531 data, 5332 max) KB, (2+72) io, 0 pfs + 0 swaps
> [root at kabini1, /etc, 6:34:24pm] 324 % freebsd-update install
> Installing updates...install: ///usr/src/contrib/tzdata/zone1970.tab: No
> such file or directory
> install: ///usr/src/crypto/openssl/crypto/constant_time_locl.h: No such file
> or directory
> install: ///usr/src/crypto/openssl/crypto/constant_time_test.c: No such file
> or directory
> install:
> ///usr/src/crypto/openssl/doc/ssl/SSL_CTX_set_tlsext_ticket_key_cb.pod: No
> such file or directory
> install: ///usr/src/crypto/openssl/test/constant_time_test.c: No such file
> or directory
> install:
> ///usr/src/secure/lib/libssl/man/SSL_CTX_set_tlsext_ticket_key_cb.3: No such
> file or directory
>  done.
> [root at kabini1, /etc, 6:34:35pm] 325 %
>
> This is the last part of what I saw when updating p9 from the console (I
> think) .... Whassup here ? Can I indeed go from p9 --> p12 (or p10 --> p12)
> in 1 shot ? I am running only plain vanilla RELEASE & pkgs, what am I
> missing ? Need anything else, just ask ....
>

It would appear there is nothing in /usr/src.  These errors would be
expected since that doesn't exist.  You should remove the 'src'
keyword current in the default 'Components src world kernel' line in
/etc/freebsd-update.conf.  That would keep freebsd-update(8) from
trying to maintain source and prevent the errors from happening again.

Jason


More information about the freebsd-questions mailing list