conf/136620: [patch] add watchdogd_flags to defaults/rc.conf

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Jul 9 14:50:06 UTC 2009


>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 at 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:


More information about the freebsd-bugs mailing list