Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 2020 06:41:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 247885] kern.init_shutdown_timeout does not increase delay of shutting down OS
Message-ID:  <bug-247885-227-8faBdMFv9R@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-247885-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-247885-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

lysfjord.daniel@smokepit.net changed:

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

--- Comment #1 from lysfjord.daniel@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.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247885-227-8faBdMFv9R>