Re: Trying Bastille

From: Dan Langille <dan_at_langille.org>
Date: Fri, 23 Dec 2022 02:02:25 UTC
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.

-- 
Dan Langille
dan@langille.org : https://langille.org/