2010-10-01 04:21:12 |
Jesse Michael |
bug |
|
|
added bug |
2010-10-01 04:21:12 |
Jesse Michael |
attachment added |
|
avoid doing string operations on $rmask or $dmask when they're undefined https://bugs.launchpad.net/bugs/652674/+attachment/1661041/+files/rmask-dmask.diff |
|
2010-10-01 04:21:12 |
Jesse Michael |
attachment added |
|
ApparmorPackages.txt https://bugs.launchpad.net/bugs/652674/+attachment/1661042/+files/ApparmorPackages.txt |
|
2010-10-01 04:21:12 |
Jesse Michael |
attachment added |
|
ApparmorStatusOutput.txt https://bugs.launchpad.net/bugs/652674/+attachment/1661043/+files/ApparmorStatusOutput.txt |
|
2010-10-01 04:21:12 |
Jesse Michael |
attachment added |
|
Dependencies.txt https://bugs.launchpad.net/bugs/652674/+attachment/1661044/+files/Dependencies.txt |
|
2010-10-01 04:21:12 |
Jesse Michael |
attachment added |
|
KernLog.txt https://bugs.launchpad.net/bugs/652674/+attachment/1661045/+files/KernLog.txt |
|
2010-10-01 04:21:12 |
Jesse Michael |
attachment added |
|
PstreeP.txt https://bugs.launchpad.net/bugs/652674/+attachment/1661046/+files/PstreeP.txt |
|
2010-10-10 17:30:51 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Review Team |
2010-10-10 17:30:53 |
Brian Murray |
tags |
amd64 apport-bug maverick |
amd64 apport-bug maverick patch |
|
2010-10-11 18:40:06 |
Steve Beattie |
bug task added |
|
apparmor |
|
2010-10-11 18:41:35 |
Steve Beattie |
nominated for series |
|
apparmor/2.5 |
|
2010-10-11 18:41:35 |
Steve Beattie |
bug task added |
|
apparmor/2.5 |
|
2010-10-11 18:41:49 |
Steve Beattie |
apparmor: status |
New |
Fix Released |
|
2010-10-11 18:41:54 |
Steve Beattie |
apparmor/2.5: status |
New |
In Progress |
|
2010-10-11 18:41:57 |
Steve Beattie |
apparmor/2.5: importance |
Undecided |
Medium |
|
2010-10-11 18:42:02 |
Steve Beattie |
apparmor (Ubuntu): status |
New |
Triaged |
|
2010-10-11 18:42:05 |
Steve Beattie |
apparmor (Ubuntu): importance |
Undecided |
Medium |
|
2010-10-11 18:42:21 |
Steve Beattie |
apparmor/2.5: milestone |
|
2.5.2 |
|
2010-10-11 18:49:24 |
Launchpad Janitor |
branch linked |
|
lp:apparmor/2.5 |
|
2010-10-11 18:51:15 |
Steve Beattie |
apparmor/2.5: status |
In Progress |
Fix Released |
|
2010-10-11 18:51:17 |
Steve Beattie |
apparmor/2.5: status |
Fix Released |
Fix Committed |
|
2010-10-14 18:00:12 |
Jamie Strandboge |
nominated for series |
|
Ubuntu Maverick |
|
2010-10-14 18:00:12 |
Jamie Strandboge |
bug task added |
|
apparmor (Ubuntu Maverick) |
|
2010-10-14 18:00:12 |
Jamie Strandboge |
nominated for series |
|
Ubuntu Natty |
|
2010-10-14 18:00:12 |
Jamie Strandboge |
bug task added |
|
apparmor (Ubuntu Natty) |
|
2010-10-14 18:00:27 |
Jamie Strandboge |
apparmor (Ubuntu Maverick): status |
New |
In Progress |
|
2010-10-14 18:00:29 |
Jamie Strandboge |
apparmor (Ubuntu Maverick): importance |
Undecided |
Medium |
|
2010-10-14 18:00:32 |
Jamie Strandboge |
apparmor (Ubuntu Maverick): assignee |
|
Jamie Strandboge (jdstrand) |
|
2010-10-14 18:00:41 |
Jamie Strandboge |
apparmor (Ubuntu Natty): assignee |
|
Jamie Strandboge (jdstrand) |
|
2010-10-14 18:30:18 |
Jamie Strandboge |
apparmor (Ubuntu Maverick): milestone |
|
maverick-updates |
|
2010-10-15 16:53:51 |
Jamie Strandboge |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2010-10-15 17:30:12 |
Launchpad Janitor |
apparmor (Ubuntu Natty): status |
Triaged |
Fix Released |
|
2010-10-16 02:48:21 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/apparmor |
|
2010-10-22 07:53:28 |
Martin Pitt |
apparmor (Ubuntu Maverick): status |
In Progress |
Fix Committed |
|
2010-10-22 07:53:35 |
Martin Pitt |
bug |
|
|
added subscriber SRU Verification |
2010-10-22 07:53:38 |
Martin Pitt |
tags |
amd64 apport-bug maverick patch |
amd64 apport-bug maverick patch verification-needed |
|
2010-10-22 08:17:26 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/maverick-proposed/apparmor |
|
2010-11-02 23:00:30 |
Jamie Strandboge |
nominated for series |
|
Ubuntu Lucid |
|
2010-11-02 23:00:30 |
Jamie Strandboge |
bug task added |
|
apparmor (Ubuntu Lucid) |
|
2010-11-02 23:02:11 |
Jamie Strandboge |
apparmor (Ubuntu Lucid): importance |
Undecided |
Medium |
|
2010-11-02 23:02:11 |
Jamie Strandboge |
apparmor (Ubuntu Lucid): status |
New |
In Progress |
|
2010-11-02 23:02:11 |
Jamie Strandboge |
apparmor (Ubuntu Lucid): milestone |
|
lucid-updates |
|
2010-11-02 23:02:11 |
Jamie Strandboge |
apparmor (Ubuntu Lucid): assignee |
|
Jamie Strandboge (jdstrand) |
|
2010-11-03 18:05:21 |
Jamie Strandboge |
description |
Binary package hint: apparmor
When aa-logprof runs into log messages that don't have denied or requested masks, like the following status message, it ends up trying to perform a string operation on an undefined variable which causes warnings to be printed to the console.
[ 9.633452] type=1400 audit(1285899118.285:5): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient3" pid=912 comm="apparmor_parser"
I'm attaching a patch to fix this.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: apparmor 2.5.1~rc1-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Sep 30 21:16:25 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release Candidate amd64 (20100928)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: apparmor |
SRU
1. when loading, unloading and replacing policy, AppArmor leaves a message in kern.log. When aa-logprof encounters this, it will spew many confusing warning messages.
2. The bug has not been addressed in the development branch (natty is not open yet)
3. Patch is from r1440 of 2.5 branch (linked to this bug)
4. TEST CASE:
$ echo 'Oct 14 07:14:13 bug652674 kernel: [ 5.429706] type=1400 audit(1287058453.835:9): apparmor="STATUS" operation="profile_load" name="/usr/share/gdm/guest-session/Xsession" pid=1201 comm="apparmor_parser"' > /tmp/log
$ sudo aa-logprof -f /tmp/log # may be prompted to enable the repository. Choose 'Ask later'
5. The regression potential is considered low. The fix does not affect the boot or shutdown process.
Binary package hint: apparmor
When aa-logprof runs into log messages that don't have denied or requested masks, like the following status message, it ends up trying to perform a string operation on an undefined variable which causes warnings to be printed to the console.
[ 9.633452] type=1400 audit(1285899118.285:5): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient3" pid=912 comm="apparmor_parser"
I'm attaching a patch to fix this.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: apparmor 2.5.1~rc1-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Sep 30 21:16:25 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release Candidate amd64 (20100928)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: apparmor
|
|
2010-11-15 10:05:35 |
Martin Pitt |
tags |
amd64 apport-bug maverick patch verification-needed |
amd64 apport-bug maverick patch verification-done |
|
2010-11-17 12:58:27 |
Launchpad Janitor |
apparmor (Ubuntu Maverick): status |
Fix Committed |
Fix Released |
|
2010-12-03 17:22:50 |
Martin Pitt |
apparmor (Ubuntu Lucid): status |
In Progress |
Fix Committed |
|
2010-12-03 17:22:58 |
Martin Pitt |
tags |
amd64 apport-bug maverick patch verification-done |
amd64 apport-bug maverick patch |
|
2010-12-03 17:23:01 |
Martin Pitt |
tags |
amd64 apport-bug maverick patch |
amd64 apport-bug maverick patch verification-needed |
|
2010-12-14 20:50:35 |
Martin Pitt |
tags |
amd64 apport-bug maverick patch verification-needed |
amd64 apport-bug maverick patch verification-done |
|
2010-12-15 11:50:58 |
Launchpad Janitor |
apparmor (Ubuntu Lucid): status |
Fix Committed |
Fix Released |
|
2011-03-17 18:34:28 |
Steve Beattie |
apparmor/2.5: status |
Fix Committed |
Fix Released |
|
2011-09-19 21:31:40 |
Ubuntu Foundations Team Bug Bot |
tags |
amd64 apport-bug maverick patch verification-done |
amd64 apport-bug maverick patch testcase verification-done |
|