From owner-freebsd-current@freebsd.org Wed Aug 5 21:19:21 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D80B73A8E74 for ; Wed, 5 Aug 2020 21:19:21 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMPdN6pgjz4FGZ for ; Wed, 5 Aug 2020 21:19:20 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x72f.google.com with SMTP id x69so43135473qkb.1 for ; Wed, 05 Aug 2020 14:19:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=KCSoVCpsgolMPvVU82NmjTfTqXEoW2npPiPThJhHgSU=; b=X1RASR2PSyrAPZKqWp99CGssQ/fEiy+6DzGnBK0ez9xcyZmJdvMf+Pwb65mXvfqHgQ djodMD0meXK/5rnWhCKxDugpl2tOgA0O27g13oCZK5UkTvrR2ojQccuSxFLK85iWann4 CI3oEbk87RcUt6Hur1OrGvvmyTbcjcVmqdS2V02vjD/Oqv370DGJhUgcxBsAULOnqWRj Rgryjb6gL+TD+FQOEUwcKAQ1kWuNT+4+by3cQ5pg9Kma/F4KOWYQQwUM+jie++uW/t0o 5+/JRLaZWb+nZ7WwM44r2goR17coYrgZdlaTfyLufV/ezXYZcN/pEWykWfyH9DC+G+ZB fG0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=KCSoVCpsgolMPvVU82NmjTfTqXEoW2npPiPThJhHgSU=; b=mhWltxTiBzbl8VQvt5i8jYDV9Ykx2r1jhc/77n5qSt6QxvU9PpjGF7lLPstGEtGwZs 2s8w6dtKUZg2oH3cZAupfBbfbeAeP+osj0sRTXnb8pBOysh+4aPSffh0tGBEc+yrwGt3 AenAfUNTuiZjzKXYDE6sjiXL63UnWunQ8x+7Yg0Ykip98Sns3fH1Pai/aWHPbs+oAi8x AW9D7x7uR9ZjsAbQ+GOiZdvRBDwEaKtjDvP/QDiBNXcvj9AWCL2lXetz2kuPuMpQQI+J px7XAQ/GyESZgGGaaQWKetSUfWgl95rmQ9CXPJXGHRhECxZ3RRrlHDsWqFhu62AaHv+f wsBQ== X-Gm-Message-State: AOAM531AA1DVAy+5HzOGqP7PC9OnCtfCc8ymGF8ihpJWlHdCDZVJT6AF V2CsdpKWKq+SEYoYGEs5krym6sAVlul/OCp8B52Ftf+bCaI= X-Google-Smtp-Source: ABdhPJz8zV+q81yq6OO1CEqJmzW48sqJOs3y83l8N0MA+EXf1N8MacEh9xUQL91UjFJP30v3iNIUiDVPH9yM2VTMelk= X-Received: by 2002:a37:4015:: with SMTP id n21mr4886426qka.240.1596662359038; Wed, 05 Aug 2020 14:19:19 -0700 (PDT) MIME-Version: 1.0 From: Warner Losh Date: Wed, 5 Aug 2020 15:19:08 -0600 Message-ID: Subject: To people upgrading from before r363679 To: FreeBSD Current X-Rspamd-Queue-Id: 4BMPdN6pgjz4FGZ X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=X1RASR2P; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::72f) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-0.67 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.05)[-0.047]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.78)[-0.783]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::72f:from]; NEURAL_SPAM_SHORT(0.16)[0.156]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Aug 2020 21:19:21 -0000 If you are upgrading across r363679, you may have installworld fail, as documented in UPDATING. I have a fix (that requires a trip through buildworld) that's under review at https://reviews.freebsd.org/D25967 . The changes are likely good, but comments likely need updating. The short version is that we purposely use old libraries to install the system. We created a symbolic link to a bunch of binaries on the system and once installworld installs one of them, we get the error. The workaround works because we copy libc.so before doing the installworld, so now we're running with a new libc.so with new binaries, which works. My fix always copies and never symlinks. The symbolic link stuff is too fragile. With it, I've done one system, but I'd appreciate reports (on the code review if possible, to me in email if not) of people who have success upgrading with this. If you've already run installworld and hit the undefined symbol, it's too late for you to help me test (since re-running is the same as hitting to test is the same as the workaround and so it will work even if my workaround is busted). Some history: This was introduced about 2 years ago. Prior to that, we always copied binaries for the install. Warner