[Bug 260081] bhyve: capsicum preventing blockif hole-punching detection
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260081] bhyve: capsicum preventing blockif hole-punching detection"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260081] bhyve: capsicum preventing blockif hole-punching detection"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260081] bhyve: capsicum preventing blockif hole-punching detection"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260081] bhyve: capsicum preventing blockif hole-punching detection"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260081] bhyve: capsicum preventing blockif hole-punching detection"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260081] bhyve: capsicum preventing blockif hole-punching detection"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260081] bhyve: capsicum preventing blockif hole-punching detection"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260081] bhyve: capsicum preventing blockif hole-punching detection"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260081] bhyve: capsicum preventing blockif hole-punching detection"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 Nov 2021 21:16:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260081 Bug ID: 260081 Summary: bhyve: capsicum preventing blockif hole-punching detection Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: chuck@FreeBSD.org Formatting a file-backed NVMe device in bhyve fails because the blockif_candelete function returns FALSE on kernel which supports hole-punching: # uname -mrsvK FreeBSD 14.0-CURRENT FreeBSD 14.0-CURRENT main-81b22a9892 GENERIC amd64 1400041 This appears to happen because the cap_right_init(3) call does not allow the use of fpathconf(2). The attached patch which adds the CAP_FPATHCONF right fixes this. -- You are receiving this mail because: You are the assignee for the bug.