[OmniOS-discuss] pkg verify failing on pyc files

Peter Tribble peter.tribble at gmail.com
Thu Oct 8 14:35:50 UTC 2015


I'm using pkg verify to ensure that nothing has been tampered with.
Unfortunately, I keep getting verify errors like the following:

pkg://omnios/library/python-2/ply
ERROR
  file: usr/lib/python2.6/vendor-packages/ply/__init__.pyc
    Group: 'root (0)' should be 'bin (2)'
    Size: 178 bytes should be 176
    Hash: d769283e99c45552467e95e55e5f5a3df00875b4 should be
d2f6ea4ff88fd7a35b5e56b7d34dd71a72479fd6
  file: usr/lib/python2.6/vendor-packages/ply/lex.pyc
    Group: 'root (0)' should be 'bin (2)'
    Size: 26838 bytes should be 26728
    Hash: 00fb25fb4ab79ec5cb85fb745ff0996ab34230a8 should be
1c5b1e78d4531bcc2c0c202c153531377b0cc17f
  file: usr/lib/python2.6/vendor-packages/ply/yacc.pyc
    Group: 'root (0)' should be 'bin (2)'
    Size: 63183 bytes should be 62924
    Hash: 4064718466fb95fc61eb5c585e8463b1f68ce884 should be
67d904213ad4ab85d34e6564920acda6582deb9a
pkg://omnios/library/python-2/pybonjour
ERROR
  file: usr/lib/python2.6/vendor-packages/pybonjour.pyc
    Group: 'root (0)' should be 'bin (2)'
    Size: 54053 bytes should be 53919
    Hash: 361960dab53ecc51d163b6bfd840309115db41c9 should be
68717718c8a8ac2bfb21a1442e6f143218e7cb60
pkg://omnios/library/python-2/pyopenssl-26
ERROR
  file: usr/lib/python2.6/vendor-packages/OpenSSL/__init__.pyc
    Group: 'root (0)' should be 'bin (2)'
    Size: 959 bytes should be 957
    Hash: 751a19a02c3fd4bbd6f33aec2c4cb3de0cd79af4 should be
b6d57b6ec31252af5fff3098bc80e9ece560f91d
  file: usr/lib/python2.6/vendor-packages/OpenSSL/version.pyc
    Group: 'root (0)' should be 'bin (2)'
    Size: 253 bytes should be 251
    Hash: 4062c7a082e198a3e3a8208e19776df8903ec255 should be
3b4fc0e99a45ffdb472d17dde5d9bfc0e74f4fa2

It looks like something is deciding to recompile the pyc files, which ends
up
changing them.

Is there any way to stop this, to keep pkg verify clean?

Thanks,

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20151008/58a1e627/attachment.html>


More information about the OmniOS-discuss mailing list