Bug 55015 - [patch] 700.kernelmsg: Security check output enhacement (truncated 1st line problem)
Summary: [patch] 700.kernelmsg: Security check output enhacement (truncated 1st line p...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 4.8-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2003-07-29 15:20 UTC by Gustavo Bellotto
Modified: 2017-12-31 22:37 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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.


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

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

Best Regards,
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