From owner-freebsd-bugs Sat Aug 25 11: 0: 8 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 040D437B406 for ; Sat, 25 Aug 2001 11:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7PI00V08195; Sat, 25 Aug 2001 11:00:00 -0700 (PDT) (envelope-from gnats) Received: from mintaka.lcs.mit.edu (mintaka.lcs.mit.edu [18.26.0.36]) by hub.freebsd.org (Postfix) with ESMTP id 4BCDC37B40A for ; Sat, 25 Aug 2001 10:52:29 -0700 (PDT) (envelope-from wollman@mintaka.lcs.mit.edu) Received: (from wollman@localhost) by mintaka.lcs.mit.edu (8.11.5/8.11.5) id f7PHqRh22096; Sat, 25 Aug 2001 13:52:27 -0400 (EDT) (envelope-from wollman) Message-Id: <200108251752.f7PHqRh22096@mintaka.lcs.mit.edu> Date: Sat, 25 Aug 2001 13:52:27 -0400 (EDT) From: "Garrett A. Wollman" Reply-To: "Garrett A. Wollman" To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/30079: /etc/security should not call `dmesg -a' Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 30079 >Category: bin >Synopsis: /etc/security should not call `dmesg -a' >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Aug 25 11:00:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Garrett A. Wollman >Release: FreeBSD 4.4-PRERELEASE i386 >Organization: MIT Laboratory for Computer Science >Environment: System: FreeBSD mintaka.lcs.mit.edu 4.4-PRERELEASE FreeBSD 4.4-PRERELEASE #9: Wed Aug 15 17:13:02 EDT 2001 root@mintaka.lcs.mit.edu:/usr/src/sys/compile/MINTAKA i386 Revision 1.11.2.2 of src/sbin/dmesg/dmesg.c; revision 1.36.2.18 of src/etc/security >Description: /etc/security's output is now spammed with everything written to /dev/console. Whatever the problem was in misc/26870, this is not the right fix. This check in /etc/security should cover only what it claims to cover: ``kernel log messages''. I rate this problem ``serious'' because the output in this report should be short and to the point; including (potentially voluminous) extraneous log messages -- which should be analyzed in the appropriate log files anyway -- may cause the sysadmin to miss important messages written only once. >How-To-Repeat: echo 'foo' >/dev/console Wait for /etc/security to tell you about it. >Fix: Work-around: revert rev. 1.36.2.18 of /etc/security. Then figure out what was really wrong in misc/26870 and fix that instead. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message