I think "vm init" should give a warning if the sysctl kern.init_shutdown_timeout is set to the default value of 120 seconds, or if rcshutdown_timeout is defined and too short. CBSD offers to reassign these settings during the initialization process (as well as rcshutdown_timeout): https://github.com/cbsd/cbsd/issues/374 I I think the default kern.init_shutdown_timeout=120s is too short for the graceful shutdown of all VMs, but this shortage is very poorly documented. Or perhaps it's worth mentioning in the pkg-message.
(In reply to Victor Sudakov from comment #0) Remember: bugs.freebsd.org is a task tracker for the FreeBSD project. vm-bhyve is a third-party software that is not part of FreeBSD and not supported by FreeBSD developers. Please use the appropriate resource for vm-bhyve feature request: https://github.com/churchers/vm-bhyve/issues. This is not a FreeBSD bug.
(In reply to purk from comment #1) Reported upstream: https://github.com/churchers/vm-bhyve/issues/303 > This is not a FreeBSD bug. A pkg-message could be useful IMHO.
Good Idea indeed! I'll fix this
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=667b6029a21821883483beb71882c521f5177bd4 commit 667b6029a21821883483beb71882c521f5177bd4 Author: Dries Michiels <driesm@FreeBSD.org> AuthorDate: 2025-03-19 13:25:09 +0000 Commit: Dries Michiels <driesm@FreeBSD.org> CommitDate: 2025-03-19 13:26:18 +0000 sysutils/vm-bhyve(-devel): add note to increase shutdown timers PR: 237646 sysutils/vm-bhyve-devel/pkg-message | 5 +++++ sysutils/vm-bhyve/pkg-message | 5 +++++ 2 files changed, 10 insertions(+)
Committed!