Hello, Am Mittwoch, 8. Oktober 2014 schrieb alanbortu:
On 10/08/2014 03:50 PM, Christian Boltz wrote:
Am Dienstag, 7. Oktober 2014 schrieb alanbortu:
When I try to scan the profile that is generated for firefox, apparmor crashes. I have filed a bug with the exact error here: http://bugzilla.opensuse.org/show_bug.cgi?id=900163
Please apply the following patch to
Thank you for the reply and explanation , how do I apply this patch? I am just a silly end user :)
There is a little tool named "patch" that can do it for you. In this case, the easiest way is to edit (as root) /usr/lib/python3.4/site-packages/apparmor/logparser.py Search for the line self.LOG = open_file_read(self.filename) (that should be line 333) and replace it with self.LOG = open(self.filename, 'r', errors='surrogateescape') Note that python is quite picky about whitespace, so make sure to have exactly the same number of spaces at the beginning of the line. That should also explain how a patch "works" - lines starting with "-" are deleted, lines starting with "+" are added and lines starting with a space are there for context so that you can see the lines around the added and deleted lines. Regards, Christian Boltz -- Bei Windows hat man Mailreader, der alles kann. Bei Linux hat man ein MUA, das eigentlich gar nichts kann, aber das verdammt gut. [Bernd Brodesser in suse-linux] -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org