Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Dec 2022 16:13:54 +0000 (UTC)
From:      doug@safeport.com
To:        Dan Langille <dan@langille.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Trying Bastille
Message-ID:  <46aa9de-3e8e-96d9-8055-666cf6948d2f@safeport.com>
In-Reply-To: <6102aeeb-d6ee-bad4-4bfd-6651b8992f51@langille.org>
References:  <alpine.BSF.2.00.2212221121010.89427@bucksport.safeport.com> <6102aeeb-d6ee-bad4-4bfd-6651b8992f51@langille.org>

next in thread | previous in thread | raw e-mail | index | archive | help
  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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46aa9de-3e8e-96d9-8055-666cf6948d2f>