Daily Security Run
carlj at peak.org
Sun Sep 27 15:36:43 UTC 2020
Jerry <jerry at 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-184.108.40.20600326: 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 at peak.org
More information about the freebsd-questions