[apparmor] [Bug 737074] Re: apache2 apparmor module missing link against libapparmor

Steve Beattie sbeattie at ubuntu.com
Sun Mar 27 14:02:16 UTC 2011


AppArmor 2.6.1 was released.

** Changed in: apparmor/2.6
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of AppArmor
Developers, which is the registrant for AppArmor.
https://bugs.launchpad.net/bugs/737074

Title:
  apache2 apparmor module missing link against libapparmor

Status in AppArmor Linux application security framework:
  Fix Released
Status in AppArmor 2.6 series:
  Fix Released
Status in “apparmor” package in Ubuntu:
  Fix Released

Bug description:
  For some reason, the apparmor 2.6 build of mod_apparmor is failing to
  link properly against libapparmor:

  ubuntu at natty-i386:~$ sudo /etc/init.d/apache2 restart
   * Restarting web server apache2
   ... waiting    ...done.
  ubuntu at natty-i386:~$ sudo a2enmod apparmor
  Enabling module apparmor.
  Run '/etc/init.d/apache2 restart' to activate new configuration!
  ubuntu at natty-i386:~$ sudo /etc/init.d/apache2 restart
  apache2: Syntax error on line 203 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/apparmor.load: Cannot load /usr/lib/apache2/modules/mod_apparmor.so into server: /usr/lib/apache2/modules/mod_apparmor.so: undefined symbol: aa_change_hat
  Action 'configtest' failed.
  The Apache error log may have more information.
     ...fail!
  ubuntu at natty-i386:~$ ldd /usr/lib/apache2/modules/mod_apparmor.so
          linux-gate.so.1 =>  (0x00779000)
          libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x009fa000)
          /lib/ld-linux.so.2 (0x0018f000)

  (this is with the 2.6.0-0ubuntu2 package in natty, I know
  2.6.0-0ubuntu3 has been uploaded, but nothing should be different in
  that version.)



More information about the AppArmor mailing list