Subject: pkg/16062: check_disk and configuration fix for netsaint-plugins
To: None <gnats-bugs@gnats.netbsd.org>
From: None <murray@river-styx.org>
List: netbsd-bugs
Date: 03/26/2002 23:53:02
>Number: 16062
>Category: pkg
>Synopsis: A couple of patches to netsaint-plugins
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Mar 26 04:52:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Murray Armfield
>Release: NetBSD 1.5ZC
>Organization:
>Environment:
System: NetBSD enterprise.home.river-styx.org 1.5ZC NetBSD 1.5ZC (ENTERPRISE) #4: Sun Mar 24 18:06:33 EST 2002 admin@enterprise.home.river-styx.org:/usr/src/sys/arch/i386/compile/ENTERPRISE i386
Architecture: i386
Machine: i386
>Description:
Two patches for netsaint-plugins. One to stop check_disk reporting on kernfs and procfs filesytems because they always say 100% full which then triggers warnings. The second is to correct reporting during configuration and is not a functional change. It DTRT for ps already.
>How-To-Repeat:
N/A
>Fix:
Makefile diff:
23a24,25
> CONFIGURE_ARGS+= --with-df-command="/bin/df -Pkt nokernfs,procfs"
>
distinfo diff:
4c4
< SHA1 (patch-aa) = aae3fd6668a75dbc19e5c2545c5030116f19ab01
---
> SHA1 (patch-aa) = 2004b0e08799e42a30974d593314f90014bdebc8
patch-aa diff:
1c1
< $NetBSD: patch-aa,v 1.2 2002/03/25 12:58:47 rh Exp $
---
> $NetBSD$
13a14,22
> @@ -395,7 +395,7 @@
> AC_DEFINE_UNQUOTED(VSZ_FORMAT,"%d %s")
> AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS waxco 'rss command'")
> AC_DEFINE_UNQUOTED(RSS_FORMAT,"%d %s")
> - echo " ps syntax... $PATH_TO_PS -Ao 'state command vsz rss'"
> + echo " ps syntax... $PATH_TO_PS -waxco 'state command vsz rss uid user ppid'"
> dnl BSD-like mode in RH 6.1
> elif [ps waxno 'state comm vsz rss uid user ppid args' 2>/dev/null | egrep -i "^S +COMMAND +VSZ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null]
> then
>Release-Note:
>Audit-Trail:
>Unformatted: