Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 2020 08:36:28 -0700
From:      Carl Johnson <carlj@peak.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Daily Security Run
Message-ID:  <8636338c5f.fsf@elm.localnet>
In-Reply-To: <20200927060507.0000719c@seibercom.net> (jerry@seibercom.net's message of "Sun, 27 Sep 2020 06:05:07 -0400")
References:  <20200927060507.0000719c@seibercom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Jerry <jerry@seibercom.net> writes:

> The "Daily Security Run" outputs a lot of information. I was wondering
> if it can be modified.
>
> The end of the output lists files for packages with mismatched
> checksums. The files listed below were all modified by me, so I really
> am not interested in this notice.
>
> Checking for packages with mismatched checksums:
> apache24-2.4.46: /usr/local/etc/apache24/httpd.conf.sample
> fetchmail-6.4.12: /usr/local/etc/rc.d/fetchmail
> mysql80-server-8.0.21_2: /usr/local/etc/rc.d/mysql-server
> poudriere-devel-3.3.99.20200326: missing file /usr/local/etc/poudriere.conf.sample
> smartmontools-7.1_2: /usr/local/share/smartmontools/drivedb.h
>
> Now, I would like to either remove this info from the daily security
> output or rehash or whatever the files so they are not listed as
> incorrect. Is that possible?

You can recompute the checksums as shown in the pkg-check(8) manpage.
The 'pkg check -r' command will recalculate the checksums for any
specified (or all) packages.  I use that for my modified files.
-- 
Carl Johnson		carlj@peak.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8636338c5f.fsf>