Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  9 Jul 2009 18:47:39 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   conf/136620: [patch] add watchdogd_flags to defaults/rc.conf
Message-ID:  <20090709144739.6797D108842@hades.panopticon>
Resent-Message-ID: <200907091450.n69Eo61R009409@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         136620
>Category:       conf
>Synopsis:       [patch] add watchdogd_flags to defaults/rc.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 09 14:50:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jun 1 22:13:51 MSD 2009 root@hades.panopticon:/async/obj/usr/src/sys/HADES i386


>Description:
It is often needed to provide flags for watchdogd (custom sleep and timeout values), but there's no mention of watchdogd_flags in defaults/rc.conf. Though watchdogd_flags is automatically respected by rc system, it is unapparent for users, so I suggest to add a line to defaults/rc.conf
>How-To-Repeat:
>Fix:

--- rc.conf.patch begins here ---
Index: etc/defaults/rc.conf
===================================================================
--- etc/defaults/rc.conf	(revision 195492)
+++ etc/defaults/rc.conf	(working copy)
@@ -596,6 +596,7 @@
 harvest_p_to_p="YES"	# Entropy device harvests point-to-point randomness
 dmesg_enable="YES"	# Save dmesg(8) to /var/run/dmesg.boot
 watchdogd_enable="NO"	# Start the software watchdog daemon
+watchdogd_flags=""	# Flags to watchdogd (if enabled).
 devfs_rulesets="/etc/defaults/devfs.rules /etc/devfs.rules" # Files containing
 							    # devfs(8) rules.
 devfs_system_ruleset=""	# The name (NOT number) of a ruleset to apply to /dev
--- rc.conf.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090709144739.6797D108842>