aa-genprof crashes in logparser NoneType has no "replace"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Fix Released
|
Undecided
|
Christian Boltz | ||
2.10 |
Fix Released
|
Undecided
|
Christian Boltz | ||
2.9 |
Fix Released
|
Undecided
|
Christian Boltz | ||
apparmor (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Reading log entries from /var/log/syslog.
Updating AppArmor profiles in /etc/apparmor.d.
Traceback (most recent call last):
File "/usr/sbin/
lp_ret = apparmor.
File "/usr/lib/
log = log_reader.
File "/usr/lib/
self.
File "/usr/lib/
rmask = rmask.replace('c', 'a')
AttributeError: 'NoneType' object has no attribute 'replace'
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: apparmor 2.10-0ubuntu11
ProcVersionSign
Uname: Linux 4.3.0-7-generic x86_64
NonfreeKernelMo
ApportVersion: 2.19.4-0ubuntu1
Architecture: amd64
CurrentDesktop: GNOME
Date: Mon Feb 1 14:35:38 2016
InstallationDate: Installed on 2014-05-07 (635 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
JournalErrors: -- No entries --
ProcKernelCmdline: BOOT_IMAGE=
SourcePackage: apparmor
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
mtime.conffile.
Changed in apparmor: | |
status: | Fix Committed → Fix Released |
Relevant log line (profile name changed to make reproducing easier):
Feb 1 14:34:25 zippy kernel: [55870.767873] audit: type=1400 audit(145435526 5.041:133046) : apparmor="ALLOWED" operation= "file_receive" profile= "/usr/sbin/ smbd" pid=28265 comm="RosettaSt oneDae" family="inet" sock_type="stream" protocol=6