[Bug 270667] zfs: size 0 files in /usr/local/etc after pkg upgrade -f after base 2a58b312b62f

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 13 Apr 2023 19:02:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270667

throwaway_vthgwq4@protonmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|Closed                      |Open

--- Comment #2 from throwaway_vthgwq4@protonmail.com ---
Reopening:

After new install on another machine
(FreeBSD-14.0-CURRENT-amd64-20230406-f21faa67ab6b-262010) new pool with block
cloning gets created.

It works fine (pkg install pkgbase, ports, zfs recv datasets, bhyve, autotrim,
scrub, truncated files for nvme in bhyve) **until**:

"# zfs set sync=disabled zpool" is set.

Then, "pkg upgrade -f dbus" will either:

1. Cause size 0 files to appear in /usr/local/etc.
2. Cause kernel panic.

I'll post a ddb stack trace later when I'll at least get a new GENERIC.

-- 
You are receiving this mail because:
You are the assignee for the bug.