[apparmor] [Bug 737074] [NEW] apache2 apparmor module missing link against libapparmor
Steve Beattie
sbeattie at ubuntu.com
Thu Mar 17 19:33:32 UTC 2011
Public bug reported:
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.)
** Affects: apparmor
Importance: High
Status: In Progress
** Affects: apparmor/2.6
Importance: High
Status: In Progress
--
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:
In Progress
Status in AppArmor 2.6 series:
In Progress
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