[Bug 988819] Re: wrong path to libxml2.so.2 in mod_security
I've redone the merge with feedback integrated. I used merges.u.c this time. Tested build and that it runs on Quantal with this bug fixed. ** Patch added: new-debian-ubuntu.debdiff https://bugs.launchpad.net/debian/+source/apache2/+bug/988819/+attachment/3180616/+files/new-debian-ubuntu.debdiff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/988819 Title: wrong path to libxml2.so.2 in mod_security To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/988819/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 988819] Re: wrong path to libxml2.so.2 in mod_security
** Patch added: ubuntu-ubuntu.debdiff https://bugs.launchpad.net/debian/+source/apache2/+bug/988819/+attachment/3180617/+files/ubuntu-ubuntu.debdiff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/988819 Title: wrong path to libxml2.so.2 in mod_security To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/988819/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 988819] Re: wrong path to libxml2.so.2 in mod_security
** Patch added: old-debian-ubuntu.debdiff https://bugs.launchpad.net/debian/+source/apache2/+bug/988819/+attachment/3180618/+files/old-debian-ubuntu.debdiff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/988819 Title: wrong path to libxml2.so.2 in mod_security To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/988819/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 988819] Re: wrong path to libxml2.so.2 in mod_security
Uploaded to quantal - this resolves the apache2 task for development - marking 'Fix Released' ** Changed in: apache2 (Ubuntu) Status: Triaged = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/988819 Title: wrong path to libxml2.so.2 in mod_security To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/988819/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 988819] Re: wrong path to libxml2.so.2 in mod_security
** Changed in: apache2 (Ubuntu Precise) Assignee: (unassigned) = Robie Basak (racb) ** Changed in: modsecurity-apache (Ubuntu Precise) Assignee: (unassigned) = Robie Basak (racb) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/988819 Title: wrong path to libxml2.so.2 in mod_security To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/988819/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 988819] Re: wrong path to libxml2.so.2 in mod_security
** Description changed: + [Impact] + + The libapache2-modsecurity package does not work out of the box (but a + workaround is available). + + [Test Case] + + apt-get -y install apache2 libapache2-modsecurity + + This fails with the following error, although the postinst does exit 0: + Setting up libapache2-modsecurity (2.6.3-1) ... + Action 'configtest' failed. + The Apache error log may have more information. + Your apache2 configuration is broken, so we're not restarting it for you. + + $ sudo apachectl configtest + apache2: Syntax error on line 210 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/mod-security.load: Cannot load /usr/lib/libxml2.so.2 into server: /usr/lib/libxml2.so.2: cannot open shared object file: No such file or directory + Action 'configtest' failed. + The Apache error log may have more information. + + [Fix] + + Debian has fixed this by updating apache2 to use dlopen's search path + and changing mod-security.load to not use any absolute path. We have + merged apache2 and synced modsecurity-apache and verified that Quantal + is fixed. + + For Precise, we have backported the upstream apache2 dlopen search path + modification, and fixed the path in mod-security.load the same as + Debian. + + [Regression Potential] + + The modsecurity-apache fix is just the load path, so it should either + work or fail. I can't see any potential for regression here. + + The apache2 fix involves changing the behaviour of dynamic module loads. + There is now a fallback to use the dlopen search path if the name does + not use an absolute path. If there is a regression, it will probably be + with edge cases to do with module load paths and likely manifest + themselves as modules failing to load. sudo apachectl configtest + should reveal these. + + + Original bug description: + service apache2 restart apache2: Syntax error on line 210 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/mod-security.load: Cannot load /usr/lib/libxml2.so.2 into server: /usr/lib/libxml2.so.2: cannot open shared object file: No such file or directory Action 'configtest' failed. The Apache error log may have more information. -...fail! - + ...fail! in file /etc/apache2/mods-enabled/mod-security.load: LoadFile /usr/lib/libxml2.so.2 - correct path on x86 would be /usr/lib/i386-linux-gnu/libxml2.so.2 maybe a symlink could fix this issue? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/988819 Title: wrong path to libxml2.so.2 in mod_security To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/988819/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 988819] Re: wrong path to libxml2.so.2 in mod_security
SRU debdiffs for apache2 and modsecurity-apache attached. ** Patch added: apache2.sru.debdiff https://bugs.launchpad.net/debian/+source/apache2/+bug/988819/+attachment/3180781/+files/apache2.sru.debdiff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/988819 Title: wrong path to libxml2.so.2 in mod_security To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/988819/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 988819] Re: wrong path to libxml2.so.2 in mod_security
** Patch added: modsecurity-apache.sru.debdiff https://bugs.launchpad.net/debian/+source/apache2/+bug/988819/+attachment/3180782/+files/modsecurity-apache.sru.debdiff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/988819 Title: wrong path to libxml2.so.2 in mod_security To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/988819/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 988819] Re: wrong path to libxml2.so.2 in mod_security
I have test built and tested these on Precise to verify that the problem goes away and that Apache still works. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/988819 Title: wrong path to libxml2.so.2 in mod_security To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/988819/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 988819] Re: wrong path to libxml2.so.2 in mod_security
** Branch linked: lp:~racb/ubuntu/precise/modsecurity-apache/988819 ** Branch linked: lp:~racb/ubuntu/precise/apache2/988819 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/988819 Title: wrong path to libxml2.so.2 in mod_security To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/988819/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 988819] Re: wrong path to libxml2.so.2 in mod_security
(unsubscribing sponsors, jamespage said it's being tracked) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/988819 Title: wrong path to libxml2.so.2 in mod_security To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/988819/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 988819] Re: wrong path to libxml2.so.2 in mod_security
** Changed in: modsecurity-apache (Ubuntu Precise) Milestone: None = ubuntu-12.04.1 ** Changed in: apache2 (Ubuntu Precise) Milestone: None = ubuntu-12.04.1 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/988819 Title: wrong path to libxml2.so.2 in mod_security To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/988819/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 988819] Re: wrong path to libxml2.so.2 in mod_security
** Also affects: apache2 (Ubuntu Precise) Importance: Undecided Status: New ** Also affects: modsecurity-apache (Ubuntu Precise) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/988819 Title: wrong path to libxml2.so.2 in mod_security To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/988819/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 988819] Re: wrong path to libxml2.so.2 in mod_security
** Changed in: apache2 (Ubuntu Precise) Importance: Undecided = High ** Changed in: modsecurity-apache (Ubuntu Precise) Importance: Undecided = High ** Changed in: apache2 (Ubuntu Precise) Status: New = Triaged ** Changed in: modsecurity-apache (Ubuntu Precise) Status: New = Triaged -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/988819 Title: wrong path to libxml2.so.2 in mod_security To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/988819/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 988819] Re: wrong path to libxml2.so.2 in mod_security
Debian have fixed this by changing both modsecurity-apache and apache2. modsecurity-apache has synced. I have prepared a merge for apache2 which is ready for sponsorship. For the SRU, please see my questions above. Thanks! ** Branch linked: lp:~racb/ubuntu/quantal/apache2/988819 ** Changed in: modsecurity-apache (Ubuntu) Status: Triaged = Fix Released ** Also affects: apache2 (Ubuntu) Importance: Undecided Status: New ** Changed in: apache2 (Ubuntu) Status: New = Triaged ** Changed in: apache2 (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/988819 Title: wrong path to libxml2.so.2 in mod_security To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/988819/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 988819] Re: wrong path to libxml2.so.2 in mod_security
** Tags added: precise -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/988819 Title: wrong path to libxml2.so.2 in mod_security To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/988819/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 988819] Re: wrong path to libxml2.so.2 in mod_security
** Bug watch added: Debian Bug tracker #670248 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670248 ** Also affects: apache2 (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670248 Importance: Unknown Status: Unknown ** No longer affects: apache2 (Debian) ** Also affects: apache2 (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670247 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/988819 Title: wrong path to libxml2.so.2 in mod_security To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/988819/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 988819] Re: wrong path to libxml2.so.2 in mod_security
sudo apt-get install apache2 libapache2-modsecurity reproduced on 12.04: sudo apachectl configtest apache2: Syntax error on line 210 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/mod-security.load: Cannot load /usr/lib/libxml2.so.2 into server: /usr/lib/libxml2.so.2: cannot open shared object file: No such file or directory Action 'configtest' failed. The Apache error log may have more information. ** Package changed: apache2 (Ubuntu) = modsecurity-apache (Ubuntu) ** Changed in: modsecurity-apache (Ubuntu) Importance: Undecided = High ** Changed in: modsecurity-apache (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/988819 Title: wrong path to libxml2.so.2 in mod_security To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/modsecurity-apache/+bug/988819/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 988819] Re: wrong path to libxml2.so.2 in mod_security
Ubuntu 12.04 LTS ** Bug watch added: Debian Bug tracker #670247 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670247 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/988819 Title: wrong path to libxml2.so.2 in mod_security To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/988819/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 988819] Re: wrong path to libxml2.so.2 in mod_security
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670247 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/988819 Title: wrong path to libxml2.so.2 in mod_security To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/988819/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs