From nobody Fri Dec 23 16:13:54 2022 X-Original-To: freebsd-questions@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 4NdsgR5vZ0z1H0vr for ; Fri, 23 Dec 2022 16:13:55 +0000 (UTC) (envelope-from doug@safeport.com) Received: from fledge.watson.org (fledge.watson.org [147.160.157.40]) (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 "A1-48603", Issuer "A1-48603" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NdsgR49Drz43jj for ; Fri, 23 Dec 2022 16:13:55 +0000 (UTC) (envelope-from doug@safeport.com) Authentication-Results: mx1.freebsd.org; none Received: from fledge.watson.org (doug@localhost [127.0.0.1]) by fledge.watson.org (8.16.1/8.16.1) with ESMTPS id 2BNGDsKu084067 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 23 Dec 2022 16:13:54 GMT (envelope-from doug@safeport.com) Received: from localhost (doug@localhost) by fledge.watson.org (8.16.1/8.16.1/Submit) with ESMTP id 2BNGDs1N084064; Fri, 23 Dec 2022 16:13:54 GMT (envelope-from doug@safeport.com) X-Authentication-Warning: fledge.watson.org: doug owned process doing -bs Date: Fri, 23 Dec 2022 16:13:54 +0000 (UTC) From: doug@safeport.com To: Dan Langille cc: freebsd-questions@FreeBSD.ORG Subject: Re: Trying Bastille In-Reply-To: <6102aeeb-d6ee-bad4-4bfd-6651b8992f51@langille.org> Message-ID: <46aa9de-3e8e-96d9-8055-666cf6948d2f@safeport.com> References: <6102aeeb-d6ee-bad4-4bfd-6651b8992f51@langille.org> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="621616949-1265690110-1671812034=:83418" X-Rspamd-Queue-Id: 4NdsgR49Drz43jj X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:6405, ipnet:147.160.157.0/24, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --621616949-1265690110-1671812034=:83418 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT On Thu, 22 Dec 2022, Dan Langille wrote: > Doug Denault wrote on 12/22/22 12:04 PM: >> I installed bastille which rendered my system un-bootable. >> >> What I did: (1) installed via pkg; (2) turned iocage off and stopped it; >> added the "enable line" to rc.conf; (3) updated bastille.conf setting the >> zfs setting. What I did NOT do: activate pf. >> >> I then did a bootstrap to download 12.3 made and deleted a contained until >> I got the create syntax right; consoled into the jail. >> >> At this point I did a zfs list to see where everything was. This from >> memory as the system no longer has a boot record. The was no listing for >> /zroot/bastille. The was a /zroot/ZROOT that I do not think (but not sure) >> was there prior to my testing bastille. No listing for the bastille stuff >> that was clearly on the disk somewhere, just not in any dataset zfs could >> find. > > You can find out how old that is: > > % zfs get creation zroot/ROOT > NAME        PROPERTY  VALUE                  SOURCE > zroot/ROOT  creation  Sat Jun 20 12:17 2020  - > > That might help eliminate some things. > Thank you. I was wrong about /zroot/ROOT. That comes from taking the standard guided zfs install. I was not wrong however about the output of zfs list. I will see if I can duplicate the error on the reinstalled system. Interestingly doing a zfs install produced a system with /etc/rc.conf from the crashed system. I did this twice so I'm pretty sure of this. I got rid of the old data by using a ufs install followed by zfs getting new and empty system again. --621616949-1265690110-1671812034=:83418--