UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf8 in position 24: invalid start byte
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Fix Released
|
Medium
|
Unassigned |
Bug Description
$ sudo aa-logprof
Reading log entries from /var/log/syslog.
Updating AppArmor profiles in /etc/apparmor.d.
Traceback (most recent call last):
File "/usr/sbin/
apparmor.
File "/usr/lib/
handle_
File "/usr/lib/
sev_
File "/usr/lib/
for line in f_in:
File "/usr/lib/
return next(self.reader)
File "/usr/lib/
line = self.readline()
> dpkg -s apparmor
Package: apparmor
Status: install ok installed
Priority: extra
Section: admin
Installed-Size: 1181
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Version: 2.8.95~
Replaces: apparmor-parser, apparmor-utils (<< 2.8.0-0ubuntu28), libapache2-
Depends: libc6 (>= 2.14), debconf (>= 0.5) | debconf-2.0, python3, libapparmor-perl, lsb-base, initramfs-tools, debconf
Suggests: apparmor-profiles, apparmor-docs, apparmor-utils
Breaks: apparmor-
Conffiles:
> cat /etc/lsb-release
DISTRIB_
DISTRIB_RELEASE=17
DISTRIB_
DISTRIB_
3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
File "/usr/lib/
data = self.read(readsize, firstline=True)
File "/usr/lib/
newchars, decodedbytes = self.decode(data, self.errors)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf8 in position 24: invalid start byte
What locale are you using? The version of the tools you are using also has a lot of bugs and the 2.9 release is much improved. Are you able to test this with a newer apparmor version? If not, knowing the locale will allow us to test. Thanks!