aa-notify -p says "Use of uninitialized value $opt_s in int at /usr/bin/aa-notify line 331."
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Fix Released
|
Low
|
Jamie Strandboge | ||
Lucid |
Fix Released
|
Low
|
Jamie Strandboge |
Bug Description
SRU Justification
1. impact of the bug is low for stable releases. apparmor-notify is new in lucid and in universe and the warning does not affect functionality. It is included here as part of the 2.5.1 update for Lucid (LP: #660077)
2. This has been addressed during the maverick development cycle.
3. Patch makes sure that $opt_s is set before referencing it
4. TEST CASE:
$ aa-notify -p
It should show no warnings.
5. The regression potential is low for this patch. The other changes to apparmor-notify can be seen in r1383 of the apparmor-2.5 branch which are all bug fixes for log rotation, auditd, options checking as well as a few cleanups. apparmor-notify is an opt-in leaf application that nothing else in the archive depends on.
Binary package hint: apparmor
This works:
$ aa-notify -p -s 10
[reports summary of notification over last 10 days]
But if the "-s" option is left out, it says:
"Use of uninitialized value $opt_s in int at /usr/bin/aa-notify line 331."
It seems that a default value for -s would fix this.
I'm running Lucid.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: apparmor-notify 2.5-0ubuntu3
ProcVersionSign
Uname: Linux 2.6.32-22-generic i686
ApparmorStatusO
Error: command /usr/sbin/
apparmor module is loaded.
Architecture: i386
Date: Mon May 17 22:24:54 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
KernLog:
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: apparmor
Related branches
Changed in apparmor (Ubuntu): | |
assignee: | nobody → Jamie Strandboge (jdstrand) |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in apparmor (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in apparmor (Ubuntu Lucid): | |
assignee: | nobody → Jamie Strandboge (jdstrand) |
importance: | Undecided → Low |
milestone: | none → lucid-updates |
status: | New → In Progress |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
tags: | added: testcase |
This bug was fixed in the package apparmor - 2.5.1~pre1393- 0ubuntu1
--------------- pre1393- 0ubuntu1) maverick; urgency=low
apparmor (2.5.1~
* Update to upstream bzr revision 1393 from lp:apparmor/2.5. ubuntu- email (LP: #590462) ubuntu- media-players (LP: #591421) patches/ 0001-local- includes. patch: backported patch from trunk to d/local/ README in apparmor, not apparmor-profiles d/local/ usr.sbin. ntpd warnings. patch memleaks. patch
* add dbus-session abstraction (LP: #566207)
* require owner in user-tmp abstraction (LP: #578922)
* don't use uninitialized $opt_s (LP: #582075)
* allow thunderbird 3 in abstractions/
* allow gmplayer in abstractions/
* debian/control: updated branches.
* debian/
allow local administrators to customize their profiles without modifying
a shipped profile
* debian/rules:
- don't pass RELEASE to libapparmor's 'make install' as it breaks the
build and isn't used by the Makfile anyway
- install apparmor.
- don't install apparmor.
* Drop the following patches already included upstream:
- 0001-lp538561.patch
- 0002-aalogprof-
- 0003-fix-
- 0004-lp549557.patch
- 0005-lp538661.patch
- 0006-lp611248.patch
-- Jamie Strandboge <email address hidden> Thu, 05 Aug 2010 16:10:46 -0500