Re: Trying Bastille
- In reply to: Dan Langille : "Re: Trying Bastille"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 23 Dec 2022 16:13:54 UTC
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.