Hi, lately I always get this warning from AppArmor :
Profile: /usr/bin/whonixcheck Operation: Open DENIED: rName: /usr/local/lib/python2.7/dist/package/protobut-2.6.1-nspkg.pthLogfile: /var/log/kern.log
Maybe, is it a python installation error?Thanks
Maybe, is it a python installation error?
Gateway or workstation?
Steps to reproduce?
Whonix -Workstation. How can I do to fix it?
Like Patrick said, it would be interesting to know what you did before receiving that error.
Have a nice day,
Yes, because I failed to reproduce this issue. I have no idea how this /usr/local/lib/python2.7/dist/package/protobut-2.6.1-nspkg.pth file got into place.
Sorry but the fact is that I don't know how I did it. I only downloaded the new whonix 13 and installed various tools that I needed, including python.[ sudo apt-get install python-qt4 python-pip ]
Can I remove the file [/usr/local/lib/python2.7/dist/package/protobut-2.6.1-nspkg.pth]? If so, how?Thanks for your help...every day I get 7-8 warning messages from AppArmor.
Deleting random files will cause random issues. Don't.
It would be better to fix the apparmor issues or as crude hack todisable apparmor notifications than deleting random files.
I still do not know how to reproduce this...
sudo apt-get install python-pip golang-gogoprotobuf-dev
...does not work.
Do you know how to reproduce this? @entr0py
Assuming OP made a typo:/usr/local/lib/python2.7/dist/package/protobut-2.6.1-nspkg.pthshould have been/usr/local/lib/python2.7/dist-packages/protobuf-2.6.1-nspkg.pth
sudo apt-get install python-pip
sudo pip install protobuf
Why does Whonixcheck need read access?
Relevant line in /etc/apparmor.d/usr.bin.whonixcheck:
fixes errors but not sure what Whonix-related operation is happening there to begin with.
Has something to do with
being written in Python.
Not tested yet. If you like, please emulate and test these changes.
Dunno. Looks harmless, though. I speculate some python initialization stuff such as "let's look what kind of libs are available".
thank you all for your interest.