FreeBSD.conf missing

From: Graham Perrin <grahamperrin_at_gmail.com>
Date: Fri, 06 Jun 2025 01:49:02 UTC
After creating, upgrading, activating then booting my most recent boot 
environment, /etc/pkg/FreeBSD.conf was missing. I copied 
FreeBSD.conf.pkgsave to recreate FreeBSD.conf

Might the merge failure below explain the disappearance?

…
[456/515] Extracting FreeBSD-pkg-bootstrap-15.snap20250603214537:   0%
pkg: Impossible to merge configuration file
[456/515] Extracting FreeBSD-pkg-bootstrap-15.snap20250603214537: 100%
…


----


When I created 1500045-001-base, 1500044-003-base was temporarily active 
and booted.


root@mowa219-gjp4-zbook-freebsd:~ # bectl list -c creation | tail -n 4
1500044-002-base         -      /tmp/1500044-002-base 1.06G 2025-05-29 23:39
1500044-003-base         -      /tmp/1500044-003-base 4.79M 2025-06-01 15:28
1500044-004-base         -      /tmp/1500044-004-base 1.22G 2025-06-02 19:28
1500045-001-base         NR     /                     184G 2025-06-05 19:51
root@mowa219-gjp4-zbook-freebsd:~ # ls -hl /tmp/1500044-002-base/etc/pkg/
total 14 KB
lrwxr-xr-x  1 root wheel   21B May 13  2024 FreeBSD-ports.conf -> 
/etc/pkg/FreeBSD.conf
-rw-r--r--  1 root wheel  198B May 28 12:11 FreeBSD.conf
-rw-r--r--  1 root wheel  715B May 30 00:43 FreeBSD.conf.pkgnew
-rw-r--r--  1 root wheel  198B May 15 01:02 FreeBSD.conf.pkgsave
root@mowa219-gjp4-zbook-freebsd:~ # ls -hl /tmp/1500044-003-base/etc/pkg/
total 14 KB
lrwxr-xr-x  1 root wheel   21B May 13  2024 FreeBSD-ports.conf -> 
/etc/pkg/FreeBSD.conf
-rw-r--r--  1 root wheel  198B May 31 20:52 FreeBSD.conf
-rw-r--r--  1 root wheel  715B May 30 00:43 FreeBSD.conf.pkgnew
-rw-r--r--  1 root wheel  198B May 28 12:11 FreeBSD.conf.pkgsave
root@mowa219-gjp4-zbook-freebsd:~ # ls -hl /tmp/1500044-004-base/etc/pkg/
total 14 KB
lrwxr-xr-x  1 root wheel   21B May 13  2024 FreeBSD-ports.conf -> 
/etc/pkg/FreeBSD.conf
-rw-r--r--  1 root wheel  198B Jun  1 21:54 FreeBSD.conf
-rw-r--r--  1 root wheel  715B May 30 00:43 FreeBSD.conf.pkgnew
-rw-r--r--  1 root wheel  198B May 31 20:52 FreeBSD.conf.pkgsave
root@mowa219-gjp4-zbook-freebsd:~ # cat /etc/pkg/FreeBSD.conf.pkgsave
FreeBSD-ports = {
     url = "pkg+https://pkg.freebsd.org/${ABI}/latest";
     mirror_type = "srv";
     signature_type = "fingerprints";
     fingerprints = "/usr/share/keys/pkg";
     enabled = yes;
}
root@mowa219-gjp4-zbook-freebsd:~ #