** Changed in: apparmor
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released
Status in AppArmor 2.10 series:
  Fix Released
Status in AppArmor 2.9 series:
  Fix Released
Status in apparmor package in Ubuntu:
  Fix Released

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to