• [Bug 289769] libsys.so.7 not found when upgrading userland with legacy freebsd-update

    From bugzilla-noreply@bugzilla-noreply@freebsd.org to muc.lists.freebsd.stable on Wed Sep 24 08:50:28 2025
    From Newsgroup: muc.lists.freebsd.stable

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289769
    Graham Perrin <grahamperrin@freebsd.org> changed:
    What |Removed |Added ----------------------------------------------------------------------------
    URL| |https://reviews.freebsd.org
    | |/D52688
    Status|New |In Progress
    Version|15.0-STABLE |14.3-RELEASE
    Flags| |mfc-stable14?,
    | |mfc-stable13?,
    | |needs_errata?
    CC| |stable@FreeBSD.org
    Severity|Affects Some People |Affects Many People
    Assignee|bugs@FreeBSD.org |cperciva@FreeBSD.org
    --
    You are receiving this mail because:
    You are on the CC list for the bug.--
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From bugzilla-noreply@bugzilla-noreply@freebsd.org to muc.lists.freebsd.stable on Wed Sep 24 21:39:24 2025
    From Newsgroup: muc.lists.freebsd.stable

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289769
    --- Comment #8 from Graham Perrin <grahamperrin@gmail.com> ---
    Created attachment 264069
    --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=264069&action=edit 13.5-RELEASE-p3 userland upgraded to 15.0-ALPHA3
    (In reply to commit-hook from comment #7)
    FreeBSD-13.4-RELEASE-amd64-disc1.iso (end of life), I installed a full set of components. A minor update for patches, then a major upgrade to 13.5-RELEASE with patches.
    Restarted the OS, upgraded the userland to 13.5-RELEASE-p3, then a major upgrade to 15.0-ALPHA3.
    Restarted the OS, used script(1) for a transcript, upgraded the userland, then conversion with pkgbasify (479 packages). Notes attached.
    --
    You are receiving this mail because:
    You are on the CC list for the bug.--
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From bugzilla-noreply@bugzilla-noreply@freebsd.org to muc.lists.freebsd.stable on Wed Sep 24 21:46:36 2025
    From Newsgroup: muc.lists.freebsd.stable

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289769
    --- Comment #9 from Graham Perrin <grahamperrin@gmail.com> ---
    Incidentally, there's nothing exciting in the contents of /etc/master.passwd in the attachment at comment 8. The root password there is one that I use for throwaway test systems (never associated with data of any value).
    --
    You are receiving this mail because:
    You are on the CC list for the bug.--
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From bugzilla-noreply@bugzilla-noreply@freebsd.org to muc.lists.freebsd.stable on Thu Sep 25 19:26:47 2025
    From Newsgroup: muc.lists.freebsd.stable

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289769
    --- Comment #10 from commit-hook@FreeBSD.org ---
    A commit in branch stable/15 references this bug:
    URL: https://cgit.FreeBSD.org/src/commit/?id=8134e7f4b406dadb784d85e2cf3f9f4b578c7619
    commit 8134e7f4b406dadb784d85e2cf3f9f4b578c7619
    Author: Colin Percival <cperciva@FreeBSD.org>
    AuthorDate: 2025-09-23 06:55:08 +0000
    Commit: Colin Percival <cperciva@FreeBSD.org>
    CommitDate: 2025-09-25 19:25:55 +0000
    freebsd-update: Library ordering
    Upgrading from 14.x to 15.x with freebsd-update broke because libc
    depends on the new libsys library; freebsd-update installed the new
    libc before creating libsys, and every step after that failed because
    all the tools (including gunzip and install) are dynamically linked
    and need a working libc.
    Enforce ordering when installing shared objects: First libsys, then
    libc, then libthr, and then all the rest of the shared object files.
    This is a candidate for an Errata Notice since the issue this fixes
    breaks upgrades.
    PR: 289769
    Reported by: Graham Perrin
    Reviewed by: kib
    MFC after: 3 days
    Sponsored by: https://www.patreon.com/cperciva
    Differential Revision: https://reviews.freebsd.org/D52688
    (cherry picked from commit 7ece602e00e85195fc426a2401c49921cd39735e)
    usr.sbin/freebsd-update/freebsd-update.sh | 20 +++++++++++++++++++-
    1 file changed, 19 insertions(+), 1 deletion(-)
    --
    You are receiving this mail because:
    You are on the CC list for the bug.--
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From bugzilla-noreply@bugzilla-noreply@freebsd.org to muc.lists.freebsd.stable on Thu Sep 25 19:27:48 2025
    From Newsgroup: muc.lists.freebsd.stable

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289769
    --- Comment #11 from commit-hook@FreeBSD.org ---
    A commit in branch stable/14 references this bug:
    URL: https://cgit.FreeBSD.org/src/commit/?id=e26928669f39c8683aea74040b9e2472e944c43a
    commit e26928669f39c8683aea74040b9e2472e944c43a
    Author: Colin Percival <cperciva@FreeBSD.org>
    AuthorDate: 2025-09-23 06:55:08 +0000
    Commit: Colin Percival <cperciva@FreeBSD.org>
    CommitDate: 2025-09-25 19:26:58 +0000
    freebsd-update: Library ordering
    Upgrading from 14.x to 15.x with freebsd-update broke because libc
    depends on the new libsys library; freebsd-update installed the new
    libc before creating libsys, and every step after that failed because
    all the tools (including gunzip and install) are dynamically linked
    and need a working libc.
    Enforce ordering when installing shared objects: First libsys, then
    libc, then libthr, and then all the rest of the shared object files.
    This is a candidate for an Errata Notice since the issue this fixes
    breaks upgrades.
    PR: 289769
    Reported by: Graham Perrin
    Reviewed by: kib
    MFC after: 3 days
    Sponsored by: https://www.patreon.com/cperciva
    Differential Revision: https://reviews.freebsd.org/D52688
    (cherry picked from commit 7ece602e00e85195fc426a2401c49921cd39735e)
    usr.sbin/freebsd-update/freebsd-update.sh | 20 +++++++++++++++++++-
    1 file changed, 19 insertions(+), 1 deletion(-)
    --
    You are receiving this mail because:
    You are on the CC list for the bug.--
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From bugzilla-noreply@bugzilla-noreply@freebsd.org to muc.lists.freebsd.stable on Thu Sep 25 19:27:49 2025
    From Newsgroup: muc.lists.freebsd.stable

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289769
    --- Comment #12 from commit-hook@FreeBSD.org ---
    A commit in branch stable/13 references this bug:
    URL: https://cgit.FreeBSD.org/src/commit/?id=87eb52f1b061989a948d3eb08953c81a4e1281f0
    commit 87eb52f1b061989a948d3eb08953c81a4e1281f0
    Author: Colin Percival <cperciva@FreeBSD.org>
    AuthorDate: 2025-09-23 06:55:08 +0000
    Commit: Colin Percival <cperciva@FreeBSD.org>
    CommitDate: 2025-09-25 19:27:28 +0000
    freebsd-update: Library ordering
    Upgrading from 14.x to 15.x with freebsd-update broke because libc
    depends on the new libsys library; freebsd-update installed the new
    libc before creating libsys, and every step after that failed because
    all the tools (including gunzip and install) are dynamically linked
    and need a working libc.
    Enforce ordering when installing shared objects: First libsys, then
    libc, then libthr, and then all the rest of the shared object files.
    This is a candidate for an Errata Notice since the issue this fixes
    breaks upgrades.
    PR: 289769
    Reported by: Graham Perrin
    Reviewed by: kib
    MFC after: 3 days
    Sponsored by: https://www.patreon.com/cperciva
    Differential Revision: https://reviews.freebsd.org/D52688
    (cherry picked from commit 7ece602e00e85195fc426a2401c49921cd39735e)
    usr.sbin/freebsd-update/freebsd-update.sh | 20 +++++++++++++++++++-
    1 file changed, 19 insertions(+), 1 deletion(-)
    --
    You are receiving this mail because:
    You are on the CC list for the bug.--
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From bugzilla-noreply@bugzilla-noreply@freebsd.org to muc.lists.freebsd.stable on Tue Sep 30 15:37:34 2025
    From Newsgroup: muc.lists.freebsd.stable

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289769
    --- Comment #13 from commit-hook@FreeBSD.org ---
    A commit in branch releng/14.3 references this bug:
    URL: https://cgit.FreeBSD.org/src/commit/?id=978e04ff5bcf0a750cd3ef19561f5e0f67860620
    commit 978e04ff5bcf0a750cd3ef19561f5e0f67860620
    Author: Colin Percival <cperciva@FreeBSD.org>
    AuthorDate: 2025-09-23 06:55:08 +0000
    Commit: Gordon Tetlow <gordon@FreeBSD.org>
    CommitDate: 2025-09-30 04:57:23 +0000
    freebsd-update: Library ordering
    Upgrading from 14.x to 15.x with freebsd-update broke because libc
    depends on the new libsys library; freebsd-update installed the new
    libc before creating libsys, and every step after that failed because
    all the tools (including gunzip and install) are dynamically linked
    and need a working libc.
    Enforce ordering when installing shared objects: First libsys, then
    libc, then libthr, and then all the rest of the shared object files.
    This is a candidate for an Errata Notice since the issue this fixes
    breaks upgrades.
    PR: 289769
    Reported by: Graham Perrin
    Reviewed by: kib
    MFC after: 3 days
    Sponsored by: https://www.patreon.com/cperciva
    Differential Revision: https://reviews.freebsd.org/D52688
    Approved by: so
    Security: FreeBSD-EN-25:18.freebsd-update
    (cherry picked from commit 7ece602e00e85195fc426a2401c49921cd39735e)
    (cherry picked from commit e26928669f39c8683aea74040b9e2472e944c43a)
    usr.sbin/freebsd-update/freebsd-update.sh | 20 +++++++++++++++++++-
    1 file changed, 19 insertions(+), 1 deletion(-)
    --
    You are receiving this mail because:
    You are on the CC list for the bug.--
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From bugzilla-noreply@bugzilla-noreply@freebsd.org to muc.lists.freebsd.stable on Tue Sep 30 15:37:35 2025
    From Newsgroup: muc.lists.freebsd.stable

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289769
    --- Comment #14 from commit-hook@FreeBSD.org ---
    A commit in branch releng/14.2 references this bug:
    URL: https://cgit.FreeBSD.org/src/commit/?id=3447fea3523b56a235b9f8fe9234893f00795379
    commit 3447fea3523b56a235b9f8fe9234893f00795379
    Author: Colin Percival <cperciva@FreeBSD.org>
    AuthorDate: 2025-09-23 06:55:08 +0000
    Commit: Gordon Tetlow <gordon@FreeBSD.org>
    CommitDate: 2025-09-30 04:58:01 +0000
    freebsd-update: Library ordering
    Upgrading from 14.x to 15.x with freebsd-update broke because libc
    depends on the new libsys library; freebsd-update installed the new
    libc before creating libsys, and every step after that failed because
    all the tools (including gunzip and install) are dynamically linked
    and need a working libc.
    Enforce ordering when installing shared objects: First libsys, then
    libc, then libthr, and then all the rest of the shared object files.
    This is a candidate for an Errata Notice since the issue this fixes
    breaks upgrades.
    PR: 289769
    Reported by: Graham Perrin
    Reviewed by: kib
    MFC after: 3 days
    Sponsored by: https://www.patreon.com/cperciva
    Differential Revision: https://reviews.freebsd.org/D52688
    Approved by: so
    Security: FreeBSD-EN-25:18.freebsd-update
    (cherry picked from commit 7ece602e00e85195fc426a2401c49921cd39735e)
    (cherry picked from commit e26928669f39c8683aea74040b9e2472e944c43a)
    usr.sbin/freebsd-update/freebsd-update.sh | 20 +++++++++++++++++++-
    1 file changed, 19 insertions(+), 1 deletion(-)
    --
    You are receiving this mail because:
    You are on the CC list for the bug.--
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From bugzilla-noreply@bugzilla-noreply@freebsd.org to muc.lists.freebsd.stable on Tue Sep 30 15:38:37 2025
    From Newsgroup: muc.lists.freebsd.stable

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289769
    --- Comment #15 from commit-hook@FreeBSD.org ---
    A commit in branch releng/13.5 references this bug:
    URL: https://cgit.FreeBSD.org/src/commit/?id=ab91dd76ff72707d992cc54d2ebe1e424689d9cb
    commit ab91dd76ff72707d992cc54d2ebe1e424689d9cb
    Author: Colin Percival <cperciva@FreeBSD.org>
    AuthorDate: 2025-09-23 06:55:08 +0000
    Commit: Gordon Tetlow <gordon@FreeBSD.org>
    CommitDate: 2025-09-30 04:58:26 +0000
    freebsd-update: Library ordering
    Upgrading from 14.x to 15.x with freebsd-update broke because libc
    depends on the new libsys library; freebsd-update installed the new
    libc before creating libsys, and every step after that failed because
    all the tools (including gunzip and install) are dynamically linked
    and need a working libc.
    Enforce ordering when installing shared objects: First libsys, then
    libc, then libthr, and then all the rest of the shared object files.
    This is a candidate for an Errata Notice since the issue this fixes
    breaks upgrades.
    PR: 289769
    Reported by: Graham Perrin
    Reviewed by: kib
    MFC after: 3 days
    Sponsored by: https://www.patreon.com/cperciva
    Differential Revision: https://reviews.freebsd.org/D52688
    Approved by: so
    Security: FreeBSD-EN-25:18.freebsd-update
    (cherry picked from commit 7ece602e00e85195fc426a2401c49921cd39735e)
    (cherry picked from commit 87eb52f1b061989a948d3eb08953c81a4e1281f0)
    usr.sbin/freebsd-update/freebsd-update.sh | 20 +++++++++++++++++++-
    1 file changed, 19 insertions(+), 1 deletion(-)
    --
    You are receiving this mail because:
    You are on the CC list for the bug.--
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From bugzilla-noreply@bugzilla-noreply@freebsd.org to muc.lists.freebsd.stable on Sun Oct 12 03:04:28 2025
    From Newsgroup: muc.lists.freebsd.stable

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289769
    Mark Linimon <linimon@FreeBSD.org> changed:
    What |Removed |Added ----------------------------------------------------------------------------
    Resolution|--- |FIXED
    Status|In Progress |Closed
    --
    You are receiving this mail because:
    You are on the CC list for the bug.--
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From bugzilla-noreply@bugzilla-noreply@freebsd.org to muc.lists.freebsd.stable on Sun Oct 12 10:22:26 2025
    From Newsgroup: muc.lists.freebsd.stable

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289769
    Graham Perrin <grahamperrin@freebsd.org> changed:
    What |Removed |Added ----------------------------------------------------------------------------
    Flags|mfc-stable14?, |mfc-stable15+,
    |mfc-stable13?, |mfc-stable14+,
    |needs_errata? |mfc-stable13+,
    | |needs_errata+
    Version|14.3-RELEASE |15.0-STABLE
    --
    You are receiving this mail because:
    You are on the CC list for the bug.--
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From bugzilla-noreply@bugzilla-noreply@freebsd.org to muc.lists.freebsd.stable on Sat Oct 18 22:44:28 2025
    From Newsgroup: muc.lists.freebsd.stable

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289769
    Craig Leres <leres@freebsd.org> changed:
    What |Removed |Added ----------------------------------------------------------------------------
    CC| |leres@freebsd.org
    --- Comment #16 from Craig Leres <leres@freebsd.org> ---
    I tried to go from 13.5 to 15.0-BETA2 and hit this. I don't see a recipe on how to recover so here's mine:
    # (I use csh)
    set path= ( /rescue $path )
    cd /tmp
    fetch https://download.freebsd.org/releases/amd64/15.0-BETA2/base.txz
    tar zxf ../base.txz lib/libsys.so.7
    mv -i lib/libsys.so.7 /lib
    freebsd-update install
    I *think* my problem was that the 13.5 version freebsd-update is missing the fix from this PR?
    --
    You are receiving this mail because:
    You are on the CC list for the bug.--
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From bugzilla-noreply@bugzilla-noreply@freebsd.org to muc.lists.freebsd.stable on Wed Dec 3 11:47:09 2025
    From Newsgroup: muc.lists.freebsd.stable

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289769
    ben@eskola.uk changed:
    What |Removed |Added ----------------------------------------------------------------------------
    CC| |ben@eskola.uk
    --- Comment #17 from ben@eskola.uk ---
    I seem to have also encountered this issue, upgrading from 14.3-RELEASE to 15.0-RELEASE, and fixed it following Craig Leres' instructions.
    --
    You are receiving this mail because:
    You are on the CC list for the bug.--
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From bugzilla-noreply@bugzilla-noreply@freebsd.org to muc.lists.freebsd.stable on Fri Dec 5 18:09:25 2025
    From Newsgroup: muc.lists.freebsd.stable

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289769
    Clay Ayers <thedaemon@thedaemons.space> changed:
    What |Removed |Added ----------------------------------------------------------------------------
    CC| |thedaemon@thedaemons.space
    --- Comment #18 from Clay Ayers <thedaemon@thedaemons.space> ---
    I can confirm I had the same issue on 14.3-RELEASE to 15.0-RELEASE on my server. Couldn't copy the files to /lib as I had no working su or sudo. Please advise.
    --
    You are receiving this mail because:
    You are on the CC list for the bug.--
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From bugzilla-noreply@bugzilla-noreply@freebsd.org to muc.lists.freebsd.stable on Sun Dec 7 14:12:58 2025
    From Newsgroup: muc.lists.freebsd.stable

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289769
    ykla <yklaxds@gmail.com> changed:
    What |Removed |Added ----------------------------------------------------------------------------
    CC| |yklaxds@gmail.com
    --- Comment #19 from ykla <yklaxds@gmail.com> ---
    This issue still occurs in the update from FreeBSD 14.3-RELEASE to 15.0.
    --
    You are receiving this mail because:
    You are on the CC list for the bug.--
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From bugzilla-noreply@bugzilla-noreply@freebsd.org to muc.lists.freebsd.stable on Wed Dec 10 08:22:46 2025
    From Newsgroup: muc.lists.freebsd.stable

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289769
    ivy@FreeBSD.org changed:
    What |Removed |Added ----------------------------------------------------------------------------
    CC| |ivy@FreeBSD.org
    --- Comment #20 from ivy@FreeBSD.org ---
    (In reply to ykla from comment #19)
    did you apply the freebsd-update errata (https://www.freebsd.org/security/advisories/FreeBSD-EN-25:18.freebsd-update.asc)
    before upgrading?
    --
    You are receiving this mail because:
    You are on the CC list for the bug.--
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From bugzilla-noreply@bugzilla-noreply@freebsd.org to muc.lists.freebsd.stable on Wed Dec 10 08:54:24 2025
    From Newsgroup: muc.lists.freebsd.stable

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289769
    Kurt Jaeger <pi@FreeBSD.org> changed:
    What |Removed |Added ----------------------------------------------------------------------------
    CC| |pi@FreeBSD.org
    --- Comment #21 from Kurt Jaeger <pi@FreeBSD.org> ---
    (In reply to Clay Ayers from comment #18)
    From my tests, the upgrade steps should be (from 14.3p6):
    freebsd-update -r 15.0-RELEASE upgrade
    freebsd-update install
    freebsd-update install
    shutdown -r now
    pkg update
    pkg upgrade
    freebsd-update install
    zpool upgrade ...
    Because 14.3p6 to 15.0, with only one install followed by a reboot leads to an unusable system, see above.
    --
    You are receiving this mail because:
    You are on the CC list for the bug.--
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From bugzilla-noreply@bugzilla-noreply@freebsd.org to muc.lists.freebsd.stable on Wed Dec 10 21:52:53 2025
    From Newsgroup: muc.lists.freebsd.stable

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289769
    --- Comment #22 from Graham Perrin <grahamperrin@gmail.com> ---
    This report is closed, please make a separate report for things such as documentation. Thank you.
    --
    You are receiving this mail because:
    You are on the CC list for the bug.--
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2