From nobody Fri Apr 29 03:16:21 2022 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C2E27199E18E for ; Fri, 29 Apr 2022 03:16:33 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KqHhK56JNz3Lh5; Fri, 29 Apr 2022 03:16:33 +0000 (UTC) (envelope-from kevans@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651202193; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Lyyn/xHdxgD8wGjgm3TisyO8m3zGT1kbYvaD9AARSTs=; b=lD+UOIhphdc0hJz9uG83gstdNk6Q6rlzi3+piD04qybk6AHt3OpZFva8Q8vn9+bFSoM5DI Pmp00s2Q7qjEnDGJeauXAEUmBximWtoysCpWVrT/w11geA+3asgWV0O4aqkLbYQwMRX7TH 5GyCZCrICkXbkfboMfVefNWy+jW9T3lGmZ2gl6xCfVHLCU6sKiUXsShhUOXCO3HKRr3MQz RztJPNWdLhxjGGFjhSVXCuGSjmc54xWzjBW4WUESkAWglqhbuvlf/+M+SafHmjn169RZ/q pkg38xoh8JEYC/1RohCngicUAXS5q01LFJE1I3KBob7sc+Nvjip9+FDhlYv+Qw== Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 880132D504; Fri, 29 Apr 2022 03:16:33 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-lj1-f173.google.com with SMTP id l19so9019085ljb.7; Thu, 28 Apr 2022 20:16:33 -0700 (PDT) X-Gm-Message-State: AOAM532iOPsLK+NYOoxTaJC6xRGRLKeB4sWZWUl477ksRin9zQXA+zxx nKXeivy3rKd5FAbEdVlf6fxyWNFNA9wB6H8/jFE= X-Google-Smtp-Source: ABdhPJwAGR5Yee3uWaegrKYyymmzuoZ00DkhOJsVGM0I1dtaWwPqhSAJ4IisUwav8stJKgkWEKZPCSY8hE1jVKJ05f8= X-Received: by 2002:a2e:9e13:0:b0:247:e32a:ddce with SMTP id e19-20020a2e9e13000000b00247e32addcemr24239309ljk.9.1651202191800; Thu, 28 Apr 2022 20:16:31 -0700 (PDT) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Kyle Evans Date: Thu, 28 Apr 2022 20:16:21 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [Bug 262920] bhyve: Guest fails to run: boot/userboot.so: Undefined symbol "getsecs" with WITH_BIND_NOW=yes To: John Kennedy Cc: virtualization@freebsd.org, FreeBSD Security Team Content-Type: text/plain; charset="UTF-8" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651202193; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Lyyn/xHdxgD8wGjgm3TisyO8m3zGT1kbYvaD9AARSTs=; b=lQRSXOIPzpNpnnPomOw157WmPm53+I0f1z+2ihQi0tR7LwDjAdAOuroDSoIMWHoC89R/fn oQgoujOy8oApSBDdUTpyIENkiShNHbnsN2eNS+7KqchgakwBIBBtlDNhlzn8TqIFLJCFg3 aHT1mQQG7Vyi2mmlTZEVNpPiSBXMlqaafYK2teuSYjh/Vbsxw4HQ8qhbVzK7xW6urReegq sugiu0NAk+Mtaplw6xzBaZ2rbC3TKoNoexxPH8zPhRBghv+Qwiq1wtR14IuHP7nIwFseej XHLyGxdbK3IJw0VkGQXmL1qUsvRhlXrbU+tqLpkdIKwkErQjmJ8Vkavj9nbb8g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651202193; a=rsa-sha256; cv=none; b=m1uRQqRBG8z6vZrgLuY8+058smj4i4CLF23xUlqfiIeCzpxcoez+SLplImgPd+fi/5iYMT HtkeazUCJAoUxri8hLoqIOZZjtJDoiygHE/1+12qLf/biSihznMv7FgKRjMMaaxYBR8gTH kqrVpp+KcoxPUpVVx7X/Q21wchgpJSWVQYR6OG3mhYd23BtnI8GsFNw5sUeJmTxMRQKhx9 oBk/8MDcSEZ4ougcbwiqmfNS+vmnuzS3otKUdlxCbz8rXcBCi0LnNpRG4ac/1eIv0yw5Oa FtAsAwvLupqy383UmKgBCOh8zZ+wNoOQGIxhJKnkjG00GxvuLKH3S0G+lUjqyQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On Wed, Apr 27, 2022 at 2:13 PM John Kennedy wrote: > > On Thu, Apr 21, 2022 at 10:38:41PM +0000, bugzilla-noreply@freebsd.org wrote: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262920 > > > > --- Comment #18 from commit-hook@FreeBSD.org --- > > A commit in branch stable/13 references this bug: > > > > URL: > > https://cgit.FreeBSD.org/src/commit/?id=c85cf4929417ce6e11a84d1dfed13654b14c6ae7 > > > > commit c85cf4929417ce6e11a84d1dfed13654b14c6ae7 > > Author: Kyle Evans > > AuthorDate: 2022-04-13 00:29:54 +0000 > > Commit: Kyle Evans > > CommitDate: 2022-04-21 22:35:01 +0000 > > > > loader: userboot: provide a getsecs() implementation > > > > We don't need it for userboot, but it avoids issues with BIND_NOW, so > > just provide it. time(3) isn't defined but ends up being provided by > > libc linked into the host process, which is generally fine. > > > > PR: 262920 > > Reviewed by: imp, jhb > > > > (cherry picked from commit 660c1892d5c90500d37f98185326c6287b2b61be) > > > > stand/userboot/userboot/main.c | 12 ++++++++++++ > > 1 file changed, 12 insertions(+) > > Ping again for this to land in 13.1 since we're supposed to hit RC5 today? > Sorry, I've been quite busy as of late. Unfortunately, correct, this won't land in 13.1. Maybe we can convince secteam@ to take it without an associated EN once they take over releng/13.1. CC'ing secteam to let them weigh in: this is a build fix with a non-default option, doesn't require a binary patch of any sort.