touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #133459
[Bug 1540562] Re: aa-genprof crashes in logparser NoneType has no "replace"
e dict that causes problem: {'task': 0, 'info': None, 'attr': None,
'denied_mask': None, 'time': 1454361312, 'parent': 0, 'name': None,
'active_hat': None, 'resource': None, 'request_mask': None, 'pid':
31472, 'operation': 'file_receive', 'name2': None, 'error_code': 0,
'magic_token': 0, 'profile': 'null-complain-profile', 'aamode':
'PERMITTING'}
probably due to one of these
kernel: [61917.812680] audit: type=1400 audit(1454361312.425:636563):
apparmor="ALLOWED" operation="file_receive"
profile="/usr/bin/wine//null-92//null-94//null-96//null-99" pid=31472
comm="WineApp" family="inet" sock_type="stream" protocol=6
kernel: [61917.812683] audit: type=1400 audit(1454361312.425:636564):
apparmor="ALLOWED" operation="file_receive"
profile="/usr/bin/wine//null-92//null-93" pid=31472 comm="WineApp"
family="inet" sock_type="stream" protocol=6
kernel: [61917.812756] audit: type=1400 audit(1454361312.425:636569):
apparmor="ALLOWED" operation="file_receive"
profile="/usr/bin/wine//null-92//null-94//null-96//null-99" pid=31472
comm="WineApp" family="inet6" sock_type="stream" protocol=6
kernel: [61917.812759] audit: type=1400 audit(1454361312.425:636570):
apparmor="ALLOWED" operation="file_receive"
profile="/usr/bin/wine//null-92//null-93" pid=31472 comm="WineApp"
family="inet6" sock_type="stream" protocol=6
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/1540562
Title:
aa-genprof crashes in logparser NoneType has no "replace"
Status in AppArmor:
New
Status in apparmor package in Ubuntu:
New
Bug description:
Reading log entries from /var/log/syslog.
Updating AppArmor profiles in /etc/apparmor.d.
Traceback (most recent call last):
File "/usr/sbin/aa-genprof", line 151, in <module>
lp_ret = apparmor.do_logprof_pass(logmark, passno)
File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 2176, in do_logprof_pass
log = log_reader.read_log(logmark)
File "/usr/lib/python3/dist-packages/apparmor/logparser.py", line 358, in read_log
self.add_event_to_tree(event)
File "/usr/lib/python3/dist-packages/apparmor/logparser.py", line 263, in add_event_to_tree
rmask = rmask.replace('c', 'a')
AttributeError: 'NoneType' object has no attribute 'replace'
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: apparmor 2.10-0ubuntu11
ProcVersionSignature: Ubuntu 4.3.0-7.18-generic 4.3.3
Uname: Linux 4.3.0-7-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
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=/root@/boot/vmlinuz-4.3.0-7-generic.efi.signed root=ZFS=gelb/root ro boot=zfs rpool=gelb bootfs=gelb/root
SourcePackage: apparmor
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.apparmor.d.abstractions.dbus.accessibility.strict: [modified]
mtime.conffile..etc.apparmor.d.abstractions.dbus.accessibility.strict: 2016-01-11T17:19:10.453376
To manage notifications about this bug go to:
https://bugs.launchpad.net/apparmor/+bug/1540562/+subscriptions
References