From owner-freebsd-current@freebsd.org Mon Aug 10 16:12:54 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 972633A7883 for ; Mon, 10 Aug 2020 16:12:54 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-oi1-f176.google.com (mail-oi1-f176.google.com [209.85.167.176]) (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 4BQLbT1z7fz4Srk for ; Mon, 10 Aug 2020 16:12:53 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-oi1-f176.google.com with SMTP id k4so9394679oik.2 for ; Mon, 10 Aug 2020 09:12:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=qwS6VK2/DQn9kQfI1hI73s9k/1OdzHBorAShZSVvTJM=; b=Ds4Gxg6Cdm1peVKYCkyLKk7mi5xD6cnJsbnLzyTyre/8bfcsoIokFeWgpEc1r5Yt5l 1wHIV8qR48K8s8H7KqfybllxN0YA7IRv5EJHeFslohN4AkjeoqH1JfhyEyNbJzm5WeDS 6Hue0jiF9WJIA2IK7fL/xsDeB3gd7/0X2o9+Q0ESUv8ilZzn/Wgvl7ksFHRTDyEw6C9U T4LQPR+VEsCZILyzVcRvylv4QftLIX8bCfNy4H1pAINw0Xe95FZwWCDKCZ3EKNoErwXs xDcKTo7VteXYYSqXMKdD1vcRTuVE6GIJHjlwB0I10+yjyzjDodsmzLPnunyLR1cIb4vS S3fA== X-Gm-Message-State: AOAM530vPcRhH8uoBGxlxJlbv+6FwbTCOlTCTKBb1gFMBMzxB+8YCOR5 Xtyp57hFQYH4rdatPXLS+LCnENAnzLU= X-Google-Smtp-Source: ABdhPJzietL3VSfkFKcX5sn/+n3CKmIK21kc1H5JLDeXLlC9K6NI1/MkwHaVkvNSf3QXRnCLz8wz9w== X-Received: by 2002:aca:4b54:: with SMTP id y81mr72116oia.54.1597075971934; Mon, 10 Aug 2020 09:12:51 -0700 (PDT) Received: from mail-ot1-f43.google.com (mail-ot1-f43.google.com. [209.85.210.43]) by smtp.gmail.com with ESMTPSA id j9sm3520099otn.67.2020.08.10.09.12.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Aug 2020 09:12:51 -0700 (PDT) Received: by mail-ot1-f43.google.com with SMTP id k12so7737955otr.1 for ; Mon, 10 Aug 2020 09:12:51 -0700 (PDT) X-Received: by 2002:a05:6830:1305:: with SMTP id p5mr1424082otq.135.1597075971195; Mon, 10 Aug 2020 09:12:51 -0700 (PDT) MIME-Version: 1.0 References: <0169058e-ec49-7ce0-c510-4fd071a239e8@blastwave.org> In-Reply-To: <0169058e-ec49-7ce0-c510-4fd071a239e8@blastwave.org> Reply-To: cem@freebsd.org From: Conrad Meyer Date: Mon, 10 Aug 2020 09:12:40 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: To people upgrading from before r363679 To: Dennis Clarke Cc: freebsd-current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4BQLbT1z7fz4Srk X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of csecem@gmail.com designates 209.85.167.176 as permitted sender) smtp.mailfrom=csecem@gmail.com X-Spamd-Result: default: False [-1.86 / 15.00]; HAS_REPLYTO(0.00)[cem@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FORGED_SENDER(0.30)[cem@freebsd.org,csecem@gmail.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; R_DKIM_NA(0.00)[]; TAGGED_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.966]; FROM_NEQ_ENVFROM(0.00)[cem@freebsd.org,csecem@gmail.com]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.11)[0.108]; NEURAL_HAM_LONG(-1.00)[-1.004]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.167.176:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.167.176:from]; RCVD_TLS_ALL(0.00)[] 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: Mon, 10 Aug 2020 16:12:54 -0000 The problem identified in Warner's email was fixed in r364030, so an easy solution is updating from r363678 or earlier directly to r364030 or later. Best, Conrad On Mon, Aug 10, 2020 at 3:20 AM Dennis Clarke wrote: > > On 8/5/20 9:19 PM, Warner Losh wrote: > > 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. > > This will fix the situation : > > triton$ > triton$ cat /usr/src/my.patch > ...