Help! Bug in FreeBSD – update OS 9.3 – release

G Brown

Dabbler
Joined
Jan 2, 2014
Messages
31
I was wanting to upgrade from the 9.3 stable into 11.3 stable. Reading around, it appears that a bug in FreeBSD – update() will prevent upgrading to any version 11.x

The FreeNAS 9.3 stable train goes up to 9.3 – release – P 31. This still has a bug in FreeBSD – update(); this bug existed in all FreeBSD versions until July 2016. Here, sir dice says:

Make sure you have at least 9.3-RELEASE-p45. There was a bug in freebsd-update(8) that prevented upgrades to 11.x. I presume that same bug will also pop up when trying to update to 12 (that didn't exist at the time the bug was discovered). This bug is also more or less proof you can upgrade and skip several intermediate major and minor versions.

https://www.freebsd.org/security/advisories/FreeBSD-EN-16:09.freebsd-update.asc


Topic: freebsd-update(8) support of FreeBSD 11.0 release distribution

Category: core
Module: freebsd-update
Announced: 2016-07-25

Affects: All supported versions of FreeBSD.

Corrected: 2016-07-11 04:50:32 UTC (stable/11, 11.0-BETA2)

2016-07-11 04:50:32 UTC (stable/11, 11.0-BETA1-p1)
2016-07-11 04:11:33 UTC (stable/10, 10.3-STABLE)
2016-07-25 15:04:17 UTC (releng/10.3, 10.3-RELEASE-p6)
2016-07-25 15:04:17 UTC (releng/10.2, 10.2-RELEASE-p20)
2016-07-25 15:04:17 UTC (releng/10.1, 10.1-RELEASE-p37)
2016-07-11 04:12:15 UTC (stable/9, 9.3-STABLE)
2016-07-25 15:04:17 UTC (releng/9.3, 9.3-RELEASE-p45)

II. Problem Description

The recent development of FreeBSD has introduced additional release
distribution names, which would fail with the existing freebsd-update(8)
sanity checks.

III. Impact
Upgrading to FreeBSD 11.x from existing FreeBSD releases is not possible
due failing sanity checks.

*******

If I try to directly go to version 11 a sanity check will probably fail. Has anybody successfully gone from 9.3 stable to version 11? It would seem most wise to update to 9.10 first, which should have the patch to fix the bug in FreeBSD – update. From there it should be safe to go to 11 or 12 etc.

Also, I think wouldn't it be safest to dismount any disc volumes, except the boot volume, then do the updates. If everything looks good after the updates then reattach the data volumes. If one is real paranoid, the sata cables can be detached.

Well thanks to anybody who can shed some light on this.
 
Top