[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:26:40 UTC 2020


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

            Bug ID: 247885
           Summary: kern.init_shutdown_timeout does not increase delay of
                    shutting down OS
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: arkadiusz.majewski at iptrace.pl

Hello,

OS restarts after 60 seconds instead of 300.

user:~ % shutdown -r now

TYPE="FreeBSD"
REVISION="12.1"
BRANCH="RELEASE-p7"

usr:~ % grep kern.init_shutdown_timeout /etc/sysctl.conf
kern.init_shutdown_timeout=300
usr:~ % sysctl kern.init_shutdown_timeout
kern.init_shutdown_timeout: 300

user:~ % grep rcshutdown_timeout /etc/rc.conf
user:~ %

user:~ % sudo grep -R rcshutdown_timeout /etc/
/etc/rc.shutdown:if [ -n "$rcshutdown_timeout" ]; then
/etc/rc.shutdown:       sleep $rcshutdown_timeout && (
/etc/rc.shutdown:               _msg="$rcshutdown_timeout second watchdog"
/etc/defaults/rc.conf:rcshutdown_timeout="90" # Seconds to wait before
terminating rc.shutdown

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


More information about the freebsd-bugs mailing list