From amdmi3@amdmi3.ru  Thu Jul  9 14:47:46 2009
Return-Path: <amdmi3@amdmi3.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id ABDA010656A8
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  9 Jul 2009 14:47:46 +0000 (UTC)
	(envelope-from amdmi3@amdmi3.ru)
Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85])
	by mx1.freebsd.org (Postfix) with ESMTP id 69E378FC0C
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  9 Jul 2009 14:47:46 +0000 (UTC)
	(envelope-from amdmi3@amdmi3.ru)
Received: from [213.148.20.85] (helo=hive.panopticon)
	by smtp.timeweb.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256)
	(Exim 4.69)
	(envelope-from <amdmi3@amdmi3.ru>)
	id 1MOuua-0001hC-6l
	for FreeBSD-gnats-submit@freebsd.org; Thu, 09 Jul 2009 18:47:48 +0400
Received: from hades.panopticon (hades.panopticon [192.168.0.32])
	by hive.panopticon (Postfix) with ESMTP id 60B1EB842
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  9 Jul 2009 18:47:44 +0400 (MSD)
Received: by hades.panopticon (Postfix, from userid 1000)
	id 6797D108842; Thu,  9 Jul 2009 18:47:39 +0400 (MSD)
Message-Id: <20090709144739.6797D108842@hades.panopticon>
Date: Thu,  9 Jul 2009 18:47:39 +0400 (MSD)
From: Dmitry Marakasov <amdmi3@FreeBSD.org>
Reply-To: Dmitry Marakasov <amdmi3@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] add watchdogd_flags to defaults/rc.conf
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         136620
>Category:       conf
>Synopsis:       [patch] add watchdogd_flags to defaults/rc.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    brueffer
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 09 14:50:05 UTC 2009
>Closed-Date:    Thu Oct 29 17:40:01 CET 2009
>Last-Modified:  Thu Oct 29 17:40:01 CET 2009
>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:
State-Changed-From-To: open->patched 
State-Changed-By: brueffer 
State-Changed-When: Wed Oct 21 11:43:29 CEST 2009 
State-Changed-Why:  
Committed to HEAD, thanks! 


Responsible-Changed-From-To: freebsd-bugs->brueffer 
Responsible-Changed-By: brueffer 
Responsible-Changed-When: Wed Oct 21 11:43:29 CEST 2009 
Responsible-Changed-Why:  
MFC reminder. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136620 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/136620: commit references a PR
Date: Wed, 21 Oct 2009 09:43:37 +0000 (UTC)

 Author: brueffer
 Date: Wed Oct 21 09:43:22 2009
 New Revision: 198314
 URL: http://svn.freebsd.org/changeset/base/198314
 
 Log:
   Add empty watchdogd_flags.
   
   PR:		136620
   Submitted by:	amdmi3
   MFC after:	3 days
 
 Modified:
   head/etc/defaults/rc.conf
 
 Modified: head/etc/defaults/rc.conf
 ==============================================================================
 --- head/etc/defaults/rc.conf	Wed Oct 21 09:22:40 2009	(r198313)
 +++ head/etc/defaults/rc.conf	Wed Oct 21 09:43:22 2009	(r198314)
 @@ -600,6 +600,7 @@ harvest_ethernet="YES"	# Entropy device 
  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
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: brueffer 
State-Changed-When: Thu Oct 29 17:39:41 CET 2009 
State-Changed-Why:  
MFCs done. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136620 
>Unformatted:
