From owner-freebsd-current@freebsd.org Mon Apr 27 00:20:07 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 11C3F2C1BB2 for ; Mon, 27 Apr 2020 00:20:07 +0000 (UTC) (envelope-from ross@bisd.ro) Received: from hollis.kitiz.in (hollis.kitiz.in [205.209.235.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "a.club.kitiz.in", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 499QQX6Nzpz49Yf for ; Mon, 27 Apr 2020 00:20:04 +0000 (UTC) (envelope-from ross@bisd.ro) Received: from hollis.kitiz.in (hollis.kitiz.in [10.0.103.2]) by hollis.kitiz.in (OpenSMTPD) with ESMTP id f45eeb33 for ; Sun, 26 Apr 2020 19:20:01 -0500 (CDT) Received: by hollis.kitiz.in (OpenSMTPD) with ESMTPSA id 5d578ba1 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO for ; Sun, 26 Apr 2020 19:20:01 -0500 (CDT) Subject: Re: r358503 breaks reroot From: Ross Gohlke To: freebsd-current@freebsd.org References: Message-ID: Date: Sun, 26 Apr 2020 19:19:41 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 499QQX6Nzpz49Yf X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.98 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.973,0]; R_DKIM_ALLOW(-0.20)[bisd.ro:s=bisdro]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-0.01)[country: US(-0.05)]; DKIM_TRACE(0.00)[bisd.ro:+]; DMARC_POLICY_ALLOW(-0.50)[bisd.ro,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:13693, ipnet:205.209.224.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 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, 27 Apr 2020 00:20:07 -0000 On 2020-04-26 18:16, Ross Gohlke wrote: > As of r358503, *reboot -r* no longer works for me. > This is only tested on amd64. > > I produced a vanilla mini-memstick image each for r358502 and r358503. > I booted each in bhyve in single user mode and ran *reboot -r*. > The first works as expected, the second halts with: > > kern_symlink /dev -> / returns 20 > > Images (to be deleted when this is resolved): > * https://club.bisd.ro/site/uv/FreeBSD-13.0-CURRENT-amd64-r358502.img > * https://club.bisd.ro/site/uv/FreeBSD-13.0-CURRENT-amd64-r358503.img > > SHA1 checksums (via https://club.bisd.ro/site/uvlist): > * r358502 - c968c4a71c270561c1b0a02e2b2281cbbf8787d7 > * r358503 - b5d1abd6b3f3e009c2b54198d76d71a8640807a6 > > External bhyve commands: > * sh /usr/share/examples/bhyve/vmrun.sh -c 1 -m 1024M -d > /mnt/FreeBSD-13.0-CURRENT-amd64-r358502.img reroot > * sh /usr/share/examples/bhyve/vmrun.sh -c 1 -m 1024M -d > /mnt/FreeBSD-13.0-CURRENT-amd64-r358503.img reroot > > Internal bhyve commands: > 1. Press 2 for single user mode. > 2. When prompted, press Return. > 3. Issue command: reboot -r > > To exit the first case: > 1. Press Return. > 2. Select Shell. > 3. Issue command: shutdown -p now > > To exit the second case, issue the following command in a second > terminal: > bhyvectl --destroy --vm=reroot > > Any suggested workarounds besides reverting to r358502? > > Any help appreciated, > Ross Forgot to refresh server and image links above were unavailable, sorry. They should work now.