Subject: Re: admin/15629: Spotting configuration changes
To: Jeremy C. Reed <reed@reedmedia.net>
From: Peter Seebach <seebs@plethora.net>
List: netbsd-bugs
Date: 02/16/2002 10:50:01
In message <Pine.LNX.4.43.0202160632040.30896-100000@pilchuck.reedmedia.net>, "
Jeremy C. Reed" writes:
>On Sat, 16 Feb 2002, seebs wrote:
>
>> >Synopsis:  Wouldn't it be nice if you got notified at boot about
>> >changes?
>
>> 	At the same time, there's also a /var/db/dmesg.boot showing what the
>> 	system's boot-time configuration was like.
>
>There's already has a /etc/rc.d/dmesg startup script.
>
>And by default it is ran and saves a dmesg to /var/run/dmesg.boot.
>
>> Save this script as /sbin/chkconfig.  In /etc/rc, right near the end, add:
>
>Maybe instead add this idea directly to the /etc/rc.d/dmesg script?
>
>Some rc.conf variable can be set if the admin wants this diff done; and
>maybe it can be emailed (like the security report is emailed).

I hadn't noticed the rc.d script.   Anyway, my thinking is, it's cheap enough
to do the diff that it wouldn't hurt to do it automatically.  Emailing it
might be a cool option.

-s