Bug 237646

Summary: sysutils/vm-bhyve: "vm init" should give a warning if kern.init_shutdown_timeout or rcshutdown_timeout are too low
Product: Ports & Packages Reporter: Victor Sudakov <vas>
Component: Individual Port(s)Assignee: Dries Michiels <driesm>
Status: New ---    
Severity: Affects Only Me CC: churchers, driesm, purkuapas2016, rgrimes, vas
Priority: --- Keywords: bhyve, feature
Version: LatestFlags: bugzilla: maintainer-feedback? (churchers)
Hardware: Any   
OS: Any   

Description Victor Sudakov 2019-04-29 15:24:10 UTC
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.
Comment 1 purk 2019-04-29 20:41:04 UTC
(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.
Comment 2 Victor Sudakov 2019-04-30 01:32:45 UTC
(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.