Bug 30079

Summary: /etc/security should not call `dmesg -a'
Product: Base System Reporter: wollman <wollman>
Component: binAssignee: Brian Somers <brian>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.4-PRERELEASE   
Hardware: Any   
OS: Any   

Description wollman 2001-08-25 19:00:00 UTC
	/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.

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.
How-To-Repeat: 	echo 'foo' >/dev/console
	Wait for /etc/security to tell you about it.
Comment 1 Johan Karlsson freebsd_committer freebsd_triage 2002-06-20 01:08:35 UTC
State Changed
From-To: open->patched

This was fixed in rev 1.3 of  
etc/periodic/security/700.kernelmsg 

This PR get to serve as a MFC reminder. 


Comment 2 Johan Karlsson freebsd_committer freebsd_triage 2002-06-20 01:08:35 UTC
Responsible Changed
From-To: freebsd-bugs->brian

Over to brian who made the commit.
Comment 3 Brian Somers freebsd_committer freebsd_triage 2002-06-20 01:48:46 UTC
State Changed
From-To: patched->closed

The use of dmesg's -a switch has been removed.