** Description changed:

+ 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
+  $ 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
+  "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
  ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-22-generic i686
  ApparmorStatusOutput:
-  Error: command /usr/sbin/apparmor_status failed with exit code 4: You do not 
have enough privilege to read the profile set.
-  apparmor module is loaded.
+  Error: command /usr/sbin/apparmor_status failed with exit code 4: You do not 
have enough privilege to read the profile set.
+  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:
-  
+ 
  PackageArchitecture: all
  ProcEnviron:
-  PATH=(custom, user)
-  LANG=en_US.utf8
-  SHELL=/bin/bash
+  PATH=(custom, user)
+  LANG=en_US.utf8
+  SHELL=/bin/bash
  SourcePackage: apparmor

-- 
aa-notify -p says "Use of uninitialized value $opt_s in int at 
/usr/bin/aa-notify line 331."
https://bugs.launchpad.net/bugs/582075
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to