OPNsense Forum

Archive => 19.7 Legacy Series => Topic started by: marcelmah on August 17, 2019, 11:04:34 am

Title: [SOLVED] Audit errors since 19.7.2
Post by: marcelmah on August 17, 2019, 11:04:34 am
Hi,

I just updated to 19.7.2 and after each update I run the security scan an the audit.
Security sometimes shows some 'issues' but the audit has never... until today.

***GOT REQUEST TO AUDIT HEALTH***
>>> Check installed kernel version
Version 19.7.2 is correct.
>>> Check for missing or altered kernel files
No problems detected.
>>> Check installed base version
Version 19.7.2 is correct.
>>> Check for missing or altered base files
No problems detected.
>>> Check for and install missing package dependencies
Checking all packages: .......... done
>>> Check for missing or altered package files
Checking all packages: ........
python37-3.7.4: checksum mismatch for /usr/local/lib/python3.7/__pycache__/textwrap.cpython-37.pyc
python37-3.7.4: checksum mismatch for /usr/local/lib/python3.7/__pycache__/threading.cpython-37.pyc
python37-3.7.4: checksum mismatch for /usr/local/lib/python3.7/__pycache__/token.cpython-37.pyc
python37-3.7.4: checksum mismatch for /usr/local/lib/python3.7/__pycache__/tokenize.cpython-37.pyc
python37-3.7.4: checksum mismatch for /usr/local/lib/python3.7/__pycache__/traceback.cpython-37.pyc
python37-3.7.4: checksum mismatch for /usr/local/lib/python3.7/__pycache__/types.cpython-37.pyc
python37-3.7.4: checksum mismatch for /usr/local/lib/python3.7/__pycache__/uu.cpython-37.pyc
python37-3.7.4: checksum mismatch for /usr/local/lib/python3.7/__pycache__/uuid.cpython-37.pyc
python37-3.7.4: checksum mismatch for /usr/local/lib/python3.7/__pycache__/warnings.cpython-37.pyc
python37-3.7.4: checksum mismatch for /usr/local/lib/python3.7/__pycache__/weakref.cpython-37.pyc
Checking all packages..... done
***DONE***

Is there a problem in my installation or is this a bug in the audit maybe?
Title: Re: Audit errors since 19.7.2
Post by: marcelmah on September 08, 2019, 06:36:56 pm
Updates to 19.7.3 today, still the same result...

***GOT REQUEST TO AUDIT HEALTH***
>>> Check installed kernel version
Version 19.7.3 is correct.
>>> Check for missing or altered kernel files
No problems detected.
>>> Check installed base version
Version 19.7.3 is correct.
>>> Check for missing or altered base files
No problems detected.
>>> Check for and install missing package dependencies
Checking all packages: .......... done
>>> Check for missing or altered package files
Checking all packages: ........
python37-3.7.4: checksum mismatch for /usr/local/lib/python3.7/__pycache__/textwrap.cpython-37.pyc
python37-3.7.4: checksum mismatch for /usr/local/lib/python3.7/__pycache__/threading.cpython-37.pyc
python37-3.7.4: checksum mismatch for /usr/local/lib/python3.7/__pycache__/token.cpython-37.pyc
python37-3.7.4: checksum mismatch for /usr/local/lib/python3.7/__pycache__/tokenize.cpython-37.pyc
python37-3.7.4: checksum mismatch for /usr/local/lib/python3.7/__pycache__/traceback.cpython-37.pyc
python37-3.7.4: checksum mismatch for /usr/local/lib/python3.7/__pycache__/types.cpython-37.pyc
python37-3.7.4: checksum mismatch for /usr/local/lib/python3.7/__pycache__/uu.cpython-37.pyc
python37-3.7.4: checksum mismatch for /usr/local/lib/python3.7/__pycache__/uuid.cpython-37.pyc
python37-3.7.4: checksum mismatch for /usr/local/lib/python3.7/__pycache__/warnings.cpython-37.pyc
python37-3.7.4: checksum mismatch for /usr/local/lib/python3.7/__pycache__/weakref.cpython-37.pyc
Checking all packages..... done
***DONE***
Title: Re: Audit errors since 19.7.2
Post by: franco on September 09, 2019, 07:50:28 pm
Hi there,

If you have checksum errors just reinstall the package from the firmware GUI tab "packages". In your case it complains about the package "python37". Easy peasy.

Remember: the audit is for you, not for us :)

Also note you're running the health audit, not the security audit. The security audit returns known vulnerabilities for installed software. The health audit will report issues with the file integrity of your system.


Cheers,
Franco
Title: Re: Audit errors since 19.7.2
Post by: marcelmah on September 10, 2019, 09:58:46 pm
Hi!

That worked perfectly, thnx!