Bug 55015

Summary: [patch] 700.kernelmsg: Security check output enhacement (truncated 1st line problem)
Product: Base System Reporter: Gustavo Bellotto <gbellotto>
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me CC: gbellotto
Priority: Normal Keywords: patch
Version: 4.8-RELEASE   
Hardware: Any   
OS: Any   

Description Gustavo Bellotto 2003-07-29 15:20:12 UTC
	As dmesg prints out the system message buffer, which seems to be cyclic on
a byte boundary, the first line of dmesg.today / yesterday are some times fragments
of a line. Thus the diff done by check_diff in the periodic security report shows
undesired unmatched fragments.

Fix: 

My suggestion is to add a "tail +2" in 700.kernelmsg (version 1.1.2.7),
to suppress first dmesg output line:

	cvs-freebsd:/etc/periodic/security>diff 700.kernelmsg 700.kernelmsg-
	47c47
	<       dmesg 2>/dev/null | tail +2 |
	---
	>       dmesg 2>/dev/null |

Best Regards,
Gustavo
How-To-Repeat:         Trivial.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:56 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:34:13 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>