[Bug 247885] kern.init_shutdown_timeout does not increase delay of shutting down OS

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 10 06:41:50 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247885

lysfjord.daniel at smokepit.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lysfjord.daniel at smokepit.ne
                   |                            |t

--- Comment #1 from lysfjord.daniel at smokepit.net ---
# sysctl -d kern.init_shutdown_timeout
kern.init_shutdown_timeout: Shutdown timeout of init(8). Unused within kernel,
but used to control init(8)

from man init:
     When shutting down the machine, init will try to run the /etc/rc.shutdown
     script.  This script can be used to cleanly terminate specific programs
     such as innd (the InterNetNews server).  If this script does not
     terminate within 120 seconds, init will terminate it.  The timeout can be
     configured via the sysctl(8) variable kern.init_shutdown_timeout.

Unless I've misunderstood something here, this is a watchdog timer, aka
"/etc/rc.shutdown is allowed to run for this long"?

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


More information about the freebsd-bugs mailing list