[Bug 300928] sys.fs.fusefs.ctl:remove_lun_with_atime failed in CI when running `ctladm create`

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 19 Nov 2026 20:37:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300928

            Bug ID: 300928
           Summary: sys.fs.fusefs.ctl:remove_lun_with_atime failed in CI
                    when running `ctladm create`
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: tests
          Assignee: testing@FreeBSD.org
          Reporter: ngie@FreeBSD.org

From
https://ci.freebsd.org/job/FreeBSD-main-amd64-test/29982/testReport/junit/sys.fs.fusefs/ctl/remove_lun_with_atime/
:
```
--- /dev/null   2026-11-19 15:17:11.610017000 +0000
+++ /tmp/kyua.0Hc0aT/15544/work/check.isIfwf/stderr     2026-11-19
15:17:11.607844000 +0000
@@ -0,0 +1 @@
+ctladm: LUN creation warning: error opening
/tmp/kyua.0Hc0aT/15544/work/mnt/file: 2
Files left in work directory after failure: ext2.img, mnt
```

`2` maps to `ENOENT`.

From `sys/cam/ctl/ctl_backend_block.c`:
```
                snprintf(req->error_str, sizeof(req->error_str),
                    "error opening %s: %d", be_lun->dev_path, error);
```

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