From nobody Fri Apr 28 13:16:53 2023 X-Original-To: stable@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 4Q7CnN0Kbpz48SrZ for ; Fri, 28 Apr 2023 13:17:12 +0000 (UTC) (envelope-from dim@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 4Q7CnM6z0xz3pwG; Fri, 28 Apr 2023 13:17:11 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682687832; 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=0t9w+os3zF38uymCpHtzXrHeFd4m8a509jMSJafQ2OM=; b=pflr5JGxi9cKGu1zJiKmQ6FkAaPkS746c/dSHZX9HSE21rJfHOlUE09Xs57aihlAJTum1I I/Y3cfKIcQXzoTP0ClZtEeDbdMzL8bPAYbFQOEceA3fSK9QKHq7gkbZcgb0rSUiZp0LO3I R6yW/mJ0tmdGF6dcvXQWxf+U4Le3E27b84lrPs7IqsSCtUnzlQWLSJixdkhK0NAsP/QnWV tzCCzchk8WHdHMCDg+8zyK9mBo6UpwKJckSDFQhj2uEXvQqysTdMJDUenUH/M4GkyO9y67 Yhs42h1sOAnnLCV+hRXaoD1oIGKospJoQWY8K5e8AKAP9fLOHf6cWiaOiPSqtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682687832; 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=0t9w+os3zF38uymCpHtzXrHeFd4m8a509jMSJafQ2OM=; b=Cd6qL0Y+JPoT4WrOD0tp69gTaQXubfV9Z6h91gXcE0eyOdcH5gmcGIUp8tc3CvZfHCuK+2 L3eZhzoEODr4SXIfmGbo1h+7E9wZNfC2RtrRiNUWprEZRu4fa3AQRY49BmDCEb1J3tl90R wQRtwsmOoVmrsiHAaK0J8Hm1Tc2RfHhlu0W+S56WfdW+I6pjYkO7oziUIINGAxieWi3854 Lgp2XWxz2l6yoBxMGRTE4TXIdq79ReHBAnIbHM37MrLKAFrUBvG2fV82w76MRaewZfkPTE kaGSZKMhvPPp7SCeDdiaI49KngkyuYkg7A0o2LvnUtYMoZxIOkhG1IhUwQUv+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682687832; a=rsa-sha256; cv=none; b=r/aaf9DtZaCgzvwJZZK/RlStVzE36IK6c/El1jgH75M/qlKKvkAGcm6CdF0vx2OxiJ3F+2 O92OYoq7r8seI+d+8I4qPFNWZKWti4qTfTX1aK5NbHfTVhrXsGGqD7MQZs+a2Xn80TayIk b4lowUytMd42/SjsSWWbw0B9LQzjg9TYekkTmpI5+z0W4ed5ygQx6nFrMfgtOLQu7pkDSm XyyBBalcxs4wMJw0AQdeq/e8UpGaD8QWfw+yCzi18PhXl3cvlzTjfclPs+0mnAmrmMrnYW 7feViyZSMgbTVbpKTNzLCBd1dA4wAofnPPOLDpAhqgh7im0E/x6tZ6gEOROdwQ== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (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 (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Q7CnM5PgczJtL; Fri, 28 Apr 2023 13:17:11 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 670E058436; Fri, 28 Apr 2023 15:17:10 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_D2A92C5B-036F-44D3-B0FE-FCA7FCEB875B"; protocol="application/pgp-signature"; micalg=pgp-sha1 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\)) Subject: Re: etcupdate created empty files = system unbootable From: Dimitry Andric In-Reply-To: <0db3bbf1-9e98-d721-c734-fdfe2483cbf0@quip.cz> Date: Fri, 28 Apr 2023 15:16:53 +0200 Cc: Dave Cottlehuber , stable@freebsd.org Message-Id: <95169DC0-5DB6-41D1-8B04-5A450094529F@FreeBSD.org> References: <312ae63f-4fab-e194-c603-a85fd11f6edd@quip.cz> <0db3bbf1-9e98-d721-c734-fdfe2483cbf0@quip.cz> To: Miroslav Lachman <000.fbsd@quip.cz> X-Mailer: Apple Mail (2.3731.500.231) X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_D2A92C5B-036F-44D3-B0FE-FCA7FCEB875B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On 28 Apr 2023, at 09:40, Miroslav Lachman <000.fbsd@quip.cz> wrote: >=20 > On 28/04/2023 08:30, Dave Cottlehuber wrote: >> On Thu, 27 Apr 2023, at 11:21, Miroslav Lachman wrote: >=20 >>> After this I updated bootcode with gpart and rebooted the machine = but it >>> does not come up, cannot login via ssh. Accessing this remote = machine >>> with remote mamagement / IPMI was a nightmare. It took me almost 5 = hours >>> because of java etc. but it's a different story. >>>=20 >>> The machine in question is all ZFS based. >> Ouch. I don=E2=80=99t wish java remote console on anybody. I have = heard a very small number of vaguely similar complaints but nothing = concrete. >> Do you still have the zfs snapshot this was upgraded from? It would = be good to know if this issue is reproducible, and even better to work = out what=E2=80=99s happening. >> Please log a PR for this issue >=20 > yes, I have Boot Environment created before system upgrade (I always = create BE before system or pkg upgrades) and there are automatic = snapshot from cron. >=20 > Should I try to clone it and reproduce it again? >=20 > I will file a PR today. I have seen some bad behavior in the past from etcupdate, when you = interrupted it (with control-C) at the 'wrong' time. In that case, it = would have built up a bad tree in /var/db/etcupdate, and as a result = *delete* almost all files in /etc! However, this problem has been = solved, as far as I know, and the effect was definitely not zero-sized = files, but really deleted ones. If you have a good way of reproducing it, I think the etcupdate = maintainers will be interested enough, moreover since mergemaster is = going to go away. -Dimitry --Apple-Mail=_D2A92C5B-036F-44D3-B0FE-FCA7FCEB875B Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCZEvHRQAKCRCwXqMKLiCW o8k5AKCoBuTntUrCkK+apzrJHoHmnkvwAQCg6X2fFM9edMtQ4v8zrVnVMfCbkPs= =ivE7 -----END PGP SIGNATURE----- --Apple-Mail=_D2A92C5B-036F-44D3-B0FE-FCA7FCEB875B--