← Back to team overview

touch-packages team mailing list archive

[Bug 1304447] Update Released

 

The verification of the Stable Release Update for apparmor has completed
successfully and the package has now been released to -updates.
Subsequently, the Ubuntu Stable Release Updates Team is being
unsubscribed and will not receive messages about this bug report.  In
the event that you encounter a regression using the package from
-updates please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regressions.

-- 
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/1304447

Title:
  apport-bug crashing on server install

Status in apparmor package in Ubuntu:
  Fix Released

Bug description:
  [impact]

  This bug prevents apport from reporting apparmor bugs on systems with
  non-UTF-8 characters showing up in syslog (the kernel reporting raw
  information from hardware is a common culprit).

  [steps to reproduce]

  1) on a system with non-UTF-8 characters in syslog, run 'apport -p apparmor -f'
     if the bug has been addressed, this should generate a report as
     expected instead of causing apport to crash.

  [regression potential]

  The change in the patch for this bug solely modifies the apparmor
  apport hook. It could potentially introduce more breakage there (but
  couldn't affect apparmor mediation); also the lp:qa-regression-testign
  test-apparmor.py attempts to exercise the apport hook, and this is
  exercised in as part of every linux kernel update by the kernel team
  (who frequently hit this issue due to the quirkiness of some of
  their hardware).

  [original description]

  jenkins@dagmar:~$ sudo apport-bug apparmor --save testlib.apport

  *** Collecting problem information

  The collected information can be sent to the developers to improve the
  application. This might take a few minutes.
  .....ERROR: hook /usr/share/apport/package-hooks/source_apparmor.py crashed:
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/apport/report.py", line 197, in _run_hook
      symb['add_info'](report, ui)
  TypeError: add_info() takes 1 positional argument but 2 were given

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/apport/report.py", line 202, in _run_hook
      symb['add_info'](report)
    File "/usr/share/apport/package-hooks/source_apparmor.py", line 48, in add_info
      report['KernLog'] = recent_kernlog(sec_re)
    File "/usr/share/apport/package-hooks/source_apparmor.py", line 24, in recent_kernlog
      for line in open(file):
    File "/usr/lib/python3.4/codecs.py", line 313, in decode
      (result, consumed) = self._buffer_decode(data, self.errors, final)
  UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd2 in position 6574: invalid continuation byte

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1304447/+subscriptions