From nobody Thu Dec 22 17:04:08 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 4NdGqz5fCxz1GyWf for ; Thu, 22 Dec 2022 17:04:15 +0000 (UTC) (envelope-from doug@safeport.com) Received: from freeport.safeport.com (freeport.safeport.com [147.160.157.114]) by mx1.freebsd.org (Postfix) with ESMTP id 4NdGqz2PmQz3w9f for ; Thu, 22 Dec 2022 17:04:15 +0000 (UTC) (envelope-from doug@safeport.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of doug@safeport.com designates 147.160.157.114 as permitted sender) smtp.mailfrom=doug@safeport.com; dmarc=none Received: from bucksport.safeport.com (bucksport.safeport.com [147.160.157.15]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by freeport.safeport.com (Postfix) with ESMTPS id CF295451BFB for ; Thu, 22 Dec 2022 12:04:08 -0500 (EST) Date: Thu, 22 Dec 2022 12:04:08 -0500 (EST) From: Doug Denault To: freebsd-questions@FreeBSD.ORG Subject: Trying Bastille Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) 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: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 4NdGqz2PmQz3w9f X-Spamd-Bar: / X-Spamd-Result: default: False [-0.30 / 15.00]; R_SPF_ALLOW(-0.20)[+ip4:147.160.157.114:c]; MIME_GOOD(-0.10)[text/plain]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6405, ipnet:147.160.157.0/24, country:US]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@FreeBSD.ORG]; local_wl_ip(0.00)[147.160.157.114]; DMARC_NA(0.00)[safeport.com]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-Rspamd-Pre-Result: action=no action; module=multimap; Matched map: local_wl_ip X-ThisMailContainsUnwantedMimeParts: N 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. At this point I rebooted thinking that would clean up whatever I had done incorrectly. The system was set to only do UEFI booting. I get the following with EFI boot >> FreeBSD boot block Load Path: \EFI\BOOT\BOOTX64.EFI Load Device: PciRoot(0x0)Pci .... what gpart shows BootCurrent: 0009 : Trying ZFS pool : ending in a blank screen with the cursor in the upper left. So I turned UEFI only mode off and booted from an install but I do not know gpart/zfs well enough to do any thing useful. Kind of a bad bug IMO that an "error" in the install process give this as a result. I can restore the system so see If I can duplicate this. My current state does not seem repairable as both the boot process and zfs seem to be mucked up. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277