From owner-freebsd-bugs@FreeBSD.ORG Thu Jul 9 14:50:06 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7275A106564A for ; Thu, 9 Jul 2009 14:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4B42B8FC1A for ; Thu, 9 Jul 2009 14:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n69Eo6BM009410 for ; Thu, 9 Jul 2009 14:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n69Eo61R009409; Thu, 9 Jul 2009 14:50:06 GMT (envelope-from gnats) Resent-Date: Thu, 9 Jul 2009 14:50:06 GMT Resent-Message-Id: <200907091450.n69Eo61R009409@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Marakasov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABDA010656A8 for ; 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 ; 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 ) 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: conf/136620: [patch] add watchdogd_flags to defaults/rc.conf X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dmitry Marakasov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2009 14:50:06 -0000 >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: