Request: Mount zfs encrypted datasets at boot? Re: FreeBSD 13.0-RC2 Now Available

2021-03-20 Thread Ruben van Staveren via freebsd-stable
Hi,

> On 13 Mar 2021, at 1:11, Glen Barber  wrote:
> 
> The second RC build of the 13.0-RELEASE release cycle is now available.


Might it be interesting to change the

zfs mount -a / zfs unmount -a

in /etc/rc.d/zfs to

zfs mount -al / zfs unmount -au

so that filesystems using the openzfs encryption feature can be automatically 
mounted?

given their keylocation is not “prompt" and accessible during boot.

This would make it possible for me to move away from my current dual pool boot 
setup, in where the boot pool has the geli keys for my geli encrypted system 
pool, which seems to be incompatible with beadm/bectl handling of things these 
days…
The single geli encrypted pool does not work for me as it doesn’t allow for 
unattended reboots.

Best regards,
Ruben



signature.asc
Description: Message signed with OpenPGP


Re: FreeBSD 13.0-RC2 Now Available

2021-03-16 Thread Nenhum_de_Nos



On Sat, March 13, 2021 18:33, Nenhum_de_Nos wrote:
> On Fri, March 12, 2021 21:11, Glen Barber wrote:
>> === Upgrading ===
>>
>> The freebsd-update(8) utility supports binary upgrades of amd64 and i386
> systems running earlier FreeBSD releases.  Systems running earlier
> FreeBSD releases can upgrade as follows:
>>
>>  # freebsd-update upgrade -r 13.0-RC2
>
> Hi Glen,
>
> this announce mentions just amd64 and i386 as able to use freebsd-update.
> On the BETA2 announce there was a mention of aarch64 as well
> (https://lists.freebsd.org/pipermail/freebsd-stable/2021-February/093081.html).
>
> I then tried to use it now on a 13.0-BETA4 system:
>
> root@rpi4_bsd:~ # freebsd-update -r 13.0-RC2 upgrade
> src component not installed, skipped
> Looking up update.FreeBSD.org mirrors... 3 mirrors found.
> Fetching metadata signature for 13.0-BETA4 from update4.freebsd.org...
> done. Fetching metadata index... done.
> Fetching 1 metadata patches. done.
> Applying metadata patches... done.
> Fetching 1 metadata files... done.
> Inspecting system... done.
>
> The following components of FreeBSD seem to be installed:
> kernel/generic kernel/generic-dbg world/base world/base-dbg
>
> The following components of FreeBSD do not seem to be installed:
>
> Does this look reasonable (y/n)?
>
> The system is:
>
> FreeBSD rpi4_bsd 13.0-BETA4 FreeBSD 13.0-BETA4 #0
> releng/13.0-n244592-e32bc253629: Fri Feb 26 05:53:09 UTC 2021
> [email protected]:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC
> arm64
>
>
> I did not typed "y" yet. Is it safe to go through with it?
>
> Thanks.
>
> matheus

Just an update. I finished the update on Raspberry Pi 4B 4GB using
freebsd-update and all worked just fine. It worked fine also from BETA4 to
RC1.

matheus

-- 
"We will call you Cygnus,
the God of balance you shall be."


___
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"


Re: FreeBSD 13.0-RC2 Now Available

2021-03-14 Thread Nenhum_de_Nos
On Fri, March 12, 2021 21:11, Glen Barber wrote:
> === Upgrading ===
>
> The freebsd-update(8) utility supports binary upgrades of amd64 and i386
systems running earlier FreeBSD releases.  Systems running earlier
FreeBSD releases can upgrade as follows:
>
>   # freebsd-update upgrade -r 13.0-RC2

Hi Glen,

this announce mentions just amd64 and i386 as able to use freebsd-update.
On the BETA2 announce there was a mention of aarch64 as well
(https://lists.freebsd.org/pipermail/freebsd-stable/2021-February/093081.html).

I then tried to use it now on a 13.0-BETA4 system:

root@rpi4_bsd:~ # freebsd-update -r 13.0-RC2 upgrade
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 13.0-BETA4 from update4.freebsd.org...
done. Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.

The following components of FreeBSD seem to be installed:
kernel/generic kernel/generic-dbg world/base world/base-dbg

The following components of FreeBSD do not seem to be installed:

Does this look reasonable (y/n)?

The system is:

FreeBSD rpi4_bsd 13.0-BETA4 FreeBSD 13.0-BETA4 #0
releng/13.0-n244592-e32bc253629: Fri Feb 26 05:53:09 UTC 2021
[email protected]:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64


I did not typed "y" yet. Is it safe to go through with it?

Thanks.

matheus

-- 
"We will call you Cygnus,
the God of balance you shall be."


___
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"