[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2021-10-14 Thread Steve Langasek
The Precise Pangolin has reached end of life, so this bug will not be
fixed for that release

** Changed in: mod-proxy-html (Ubuntu Precise)
   Status: Confirmed => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005425

Title:
  [SRU] Not looking for library in multiarch-friendly path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-07-09 Thread kroq-gar78
Is this a duplicate of bug 1005425? The bugs seem almost exactly the
same, and that one already has some fixes released. I, personally, can't
tell the difference at all.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005425

Title:
  [SRU] Not looking for library in multiarch-friendly path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-07-09 Thread kroq-gar78
Oops, I meant duplicate of bug 988819.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005425

Title:
  [SRU] Not looking for library in multiarch-friendly path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-06-15 Thread James Page
Please see bug 988819 - this includes an apache2 change to make apache
use dlopen as a fallback so that the .so file can be specificied without
a full path.

Its currently in -proposed awaiting verification.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005425

Title:
  [SRU] Not looking for library in multiarch-friendly path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-06-13 Thread Gerben
Hi,

Performed the test in quantal-server-amd64.iso and this is no issue in
Quantal. The LoadFile directive looks nice without any absolute path,
probably using some LD_LIBPATH or LIBRARY_PATH in the background.

root@b64s1210:/etc/apache2/mods-enabled# dpkg -l | grep proxy-ht
ii  libapache2-mod-proxy-html 3.0.1-1.1   Apache2 
filter module for HTML links rewriting

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005425

Title:
  [SRU] Not looking for library in multiarch-friendly path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-06-13 Thread Andrew Starr-Bochicchio
** Changed in: mod-proxy-html (Ubuntu)
   Status: Incomplete = Fix Released

** Changed in: mod-proxy-html (Ubuntu)
 Assignee: kroq-gar78 (kroq-gar78) = (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005425

Title:
  [SRU] Not looking for library in multiarch-friendly path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-06-12 Thread Andrew Starr-Bochicchio
Can anyone confirm if this is still an issue in Quantal? Version
3.0.1-1.1 which was synced from Debian should have fixed this.

mod-proxy-html (3.0.1-1.1) unstable; urgency=medium

   * Non-maintainer upload.
   * Modify the path of libxml2.so.2 in conf file, update the minmal
 version of apache2 (Closes: #670633).
   * debian/compat: 4 - 9.
   * debian/rules:
 - Replace dh_clean -k with dh_prep.
 - Add build-arch and build-indep target.
   * debian/dirs: removed, useless.
   * debian/source/format: 3.0 (quilt)
   * std-ver: 3.8.0 - 3.9.3
 -- Aron Xu a...@debian.org  Wed, 30 May 2012 08:59:37 +

** Bug watch added: Debian Bug tracker #674037
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674037

** Also affects: mod-proxy-html (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674037
   Importance: Unknown
   Status: Unknown

** Also affects: mod-proxy-html (Ubuntu Precise)
   Importance: Undecided
   Status: New

** Changed in: mod-proxy-html (Ubuntu Precise)
 Assignee: (unassigned) = kroq-gar78 (kroq-gar78)

** Changed in: mod-proxy-html (Ubuntu Precise)
   Status: New = Confirmed

** Changed in: mod-proxy-html (Ubuntu)
   Status: In Progress = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005425

Title:
  [SRU] Not looking for library in multiarch-friendly path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-06-12 Thread Bug Watch Updater
** Changed in: mod-proxy-html (Debian)
   Status: Unknown = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005425

Title:
  [SRU] Not looking for library in multiarch-friendly path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-06-09 Thread Gerben
Hi,

ran the sed command and apache starts with the module enabled (both 64 and 32 
bit installations).
This issue seems to be resolved.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005425

Title:
  [SRU] Not looking for library in multiarch-friendly path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-06-08 Thread Gerben
IMPACT:
LOW-MEDIUM
Site-forwarding is not possible, 
  - 12.04 cannot be used as a forwarding host to link to sites hosted within a 
private network.
  (just keep using previous ubuntu version for the moment)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005425

Title:
  [SRU] Not looking for library in multiarch-friendly path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-06-08 Thread kroq-gar78
Ok, added the impact. As soon as you test the fix, I'll set my branch to
merge and they'll hopefully have it uploaded in a little while. Can you
please test the command I wrote eariler? Thanks.

** Description changed:

  SRU Request for Precise
  
  # SRU Justification #
  
  [Impact]
+ Site-forwarding is not possible,
+ Precise cannot be used as a forwarding host to link to sites hosted within a 
private network.
  
  [Development Fix]
  I added the sed command mentioned below into the debian/postinst script so 
that the path is corrected at installation. Editing the file 
(debian/conf/proxy_html.load) itself won't be of any use because the path 
differs by architecture.
  
  [Stable Fix]
  Edit the file /etc/apache2/mods-enabled/proxy_html.load to include the right 
path using the following sed command:
  
  sed  -i s/\/usr\/lib\/libxml2.so.2/\/usr\/lib\/`uname -i`-linux-
  gnu\/libxml2.so.2/g /etc/apache2/mods-available/proxy_html.load
  
  [Test Case]
  1) Install the packages 'apache2', 'libxml2', and 'libapache2-mod-proxy-html'
  2) Run the command 'sudo service apache2 start'
  
  With the version in Precise, it will error out with:
  apache2: Syntax error on line 210 of /etc/apache2/apache2.conf: Syntax error 
on line 1 of /etc/apache2/mods-enabled/proxy_html.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 'start' failed.
  
  [Regression Potential]
  Little, as Apache doesn't run currently anyway
  
  libxml2 2.7.8.dfsg-5.1ubuntu4.1 running on Ubuntu 12.04 LTS
  
  ORIGINAL REPORT
  
  See also package   libapache2-mod-proxy-html ,   file/link  /etc/apache2
  /mods-enabled/proxy_html.load
  
  # lsb_release -rd
  Description:  Ubuntu 12.04 LTS
  Release:  12.04
  
  (64 bit)
  
  # apt-cache policy libxml2
  libxml2:
    Installed: 2.7.8.dfsg-5.1ubuntu4.1
    Candidate: 2.7.8.dfsg-5.1ubuntu4.1
    Version table:
   *** 2.7.8.dfsg-5.1ubuntu4.1 0
  500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 
Packages
  500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 
Packages
  100 /var/lib/dpkg/status
   2.7.8.dfsg-5.1ubuntu4 0
  500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
  
  # apt-cache policy libapache2-mod-proxy-html:
  libapache2-mod-proxy-html:
    Installed: 3.0.1-1
    Candidate: 3.0.1-1
    Version table:
   *** 3.0.1-1 0
  500 http://de.archive.ubuntu.com/ubuntu/ precise/universe amd64 
Packages
  100 /var/lib/dpkg/status
  
  Expected:
  I expected apache to start including module proxy_html.load.
  
  What happened:
  apache2 failed to start and showed an error message
  # service apache2 start
   * Starting web server apache2
apache2: Syntax error on line 210 of 
/etc/apache2/apache2.conf: Syntax error on line 1 of 
/etc/apache2/mods-enabled/proxy_html.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 'start' failed.
  The Apache error log may have more information.
    
 [fail]
  
  proxy_html.load tries to load libxml2  (LoadFile /usr/lib/libxml2.so.2), but 
libxml2 only provides under /usr/lib/x86_64-linux-gnu
  (under 10.04 64 bit things are available under /usr/lib)
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: libxml2 2.7.8.dfsg-5.1ubuntu4.1
  ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
  Uname: Linux 3.2.0-24-generic x86_64
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Mon May 28 09:25:26 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS Precise Pangolin - Release amd64 
(20120424.1)
  ProcEnviron:
   LANGUAGE=en_US:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: libxml2
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005425

Title:
  [SRU] Not looking for library in multiarch-friendly path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-06-06 Thread kroq-gar78
Gerben,

Can you fill out the Impact field? Basically, what is the impact of the
problem? Thanks! Once you do that, I'll request a merge.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005425

Title:
  [SRU] Not looking for library in multiarch-friendly path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-06-06 Thread kroq-gar78
Also, can you test this fix by running

sed -i s/\/usr\/lib\/libxml2.so.2/\/usr\/lib\/`uname -i`-linux-
gnu\/libxml2.so.2/g /etc/apache2/mods-available/proxy_html.load

in a terminal and seeing if it solves the problem? Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005425

Title:
  [SRU] Not looking for library in multiarch-friendly path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-05-30 Thread Gerben
Hi,

The command to use is
  uname -i 

This produced your excepted strings on the different platforms.

I've quickly looked at other apache modules, and mod_serurity also has
the same problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005425

Title:
  [SRU] Not looking for library in multiarch-friendly path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-05-30 Thread kroq-gar78
Thanks! I'll update my patch and branch. :)

I think I (or you, if you want) should file a separate bug report for
mod_security, unless it's already been reported.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005425

Title:
  [SRU] Not looking for library in multiarch-friendly path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-05-30 Thread kroq-gar78
** Tags removed: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005425

Title:
  [SRU] Not looking for library in multiarch-friendly path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-05-30 Thread kroq-gar78
Maybe this should be done through debian/rules instead of
debian/postinst?

** Description changed:

  SRU Request for Precise
  
  # SRU Justification #
  
  [Impact]
  
  [Development Fix]
  I added the sed command mentioned below into the debian/postinst script so 
that the path is corrected at installation. Editing the file 
(debian/conf/proxy_html.load) itself won't be of any use because the path 
differs by architecture.
  
  [Stable Fix]
  Edit the file /etc/apache2/mods-enabled/proxy_html.load to include the right 
path using the following sed command:
  
- sed  -i s/\/usr\/lib\/libxml2.so.2/\/usr\/lib\/`dpkg-architecture
- -qDEB_HOST_GNU_TYPE`\/libxml2.so.2/g /etc/apache2/mods-
- available/proxy_html.load
+ sed  -i s/\/usr\/lib\/libxml2.so.2/\/usr\/lib\/`uname -i`-linux-
+ gnu\/libxml2.so.2/g /etc/apache2/mods-available/proxy_html.load
  
  [Test Case]
  1) Install the packages 'apache2', 'libxml2', and 'libapache2-mod-proxy-html'
  2) Run the command 'sudo service apache2 start'
  
  With the version in Precise, it will error out with:
  apache2: Syntax error on line 210 of /etc/apache2/apache2.conf: Syntax error 
on line 1 of /etc/apache2/mods-enabled/proxy_html.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 'start' failed.
  
  [Regression Potential]
  Little, as Apache doesn't run currently anyway
  
  libxml2 2.7.8.dfsg-5.1ubuntu4.1 running on Ubuntu 12.04 LTS
  
  ORIGINAL REPORT
  
  See also package   libapache2-mod-proxy-html ,   file/link  /etc/apache2
  /mods-enabled/proxy_html.load
  
  # lsb_release -rd
  Description:  Ubuntu 12.04 LTS
  Release:  12.04
  
  (64 bit)
  
  # apt-cache policy libxml2
  libxml2:
    Installed: 2.7.8.dfsg-5.1ubuntu4.1
    Candidate: 2.7.8.dfsg-5.1ubuntu4.1
    Version table:
   *** 2.7.8.dfsg-5.1ubuntu4.1 0
  500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 
Packages
  500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 
Packages
  100 /var/lib/dpkg/status
   2.7.8.dfsg-5.1ubuntu4 0
  500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
  
  # apt-cache policy libapache2-mod-proxy-html:
  libapache2-mod-proxy-html:
    Installed: 3.0.1-1
    Candidate: 3.0.1-1
    Version table:
   *** 3.0.1-1 0
  500 http://de.archive.ubuntu.com/ubuntu/ precise/universe amd64 
Packages
  100 /var/lib/dpkg/status
  
  Expected:
  I expected apache to start including module proxy_html.load.
  
  What happened:
  apache2 failed to start and showed an error message
  # service apache2 start
   * Starting web server apache2
apache2: Syntax error on line 210 of 
/etc/apache2/apache2.conf: Syntax error on line 1 of 
/etc/apache2/mods-enabled/proxy_html.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 'start' failed.
  The Apache error log may have more information.
    
 [fail]
  
  proxy_html.load tries to load libxml2  (LoadFile /usr/lib/libxml2.so.2), but 
libxml2 only provides under /usr/lib/x86_64-linux-gnu
  (under 10.04 64 bit things are available under /usr/lib)
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: libxml2 2.7.8.dfsg-5.1ubuntu4.1
  ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
  Uname: Linux 3.2.0-24-generic x86_64
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Mon May 28 09:25:26 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS Precise Pangolin - Release amd64 
(20120424.1)
  ProcEnviron:
   LANGUAGE=en_US:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: libxml2
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005425

Title:
  [SRU] Not looking for library in multiarch-friendly path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-05-30 Thread kroq-gar78
Good patch (that works)

** Patch added: Fix path to use multiarch-friendly in 'postinst' script
   
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+attachment/3169684/+files/mod-proxy-html_1005425.patch

** Patch removed: Fix path to use multiarch-friendly in 'postinst' script (no 
typo)
   
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+attachment/3167360/+files/mod-proxy-html_1005425.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005425

Title:
  [SRU] Not looking for library in multiarch-friendly path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-05-29 Thread kroq-gar78
Hmm... not what I had hoped for. I'm trying to get a command to output
'i386' from your machine and 'x86_64' from mine (64-bit). Can you try
running the command arch on your 32-bit system? Thanks. There's got to
be a better way to do this...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005425

Title:
  [SRU] Not looking for library in multiarch-friendly path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-05-28 Thread Launchpad Bug Tracker
** Branch linked: lp:~kroq-gar78/ubuntu/quantal/mod-proxy-
html/fix-1005425

** Branch linked: lp:~kroq-gar78/ubuntu/precise/mod-proxy-
html/fix-1005425

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005425

Title:
  [SRU] Not looking for library in multiarch-friendly path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-05-28 Thread kroq-gar78
Hmmm... just remembered that dpkg-architecture is part of dpkg-dev, and
I don't want to add another dependency in. I'll use 'uname -m' and then
append '-linux-gnu' to that. Please tell me if anybody has an
alternative solution.

** Description changed:

+ SRU Request for Precise
+ 
+ # SRU Justification #
+ 
+ [Impact]
+ 
+ 
+ [Development Fix]
+ 
+ 
+ [Stable Fix]
+ Edit the file /etc/apache2/mods-enabled/proxy_html.load to include the right 
path using the following sed command:
+ 
+ sed  -i s/\/usr\/lib\/libxml2.so.2/\/usr\/lib\/`dpkg-architecture
+ -qDEB_HOST_GNU_TYPE`\/libxml2.so.2/g /etc/apache2/mods-
+ available/proxy_html.load
+ 
+ [Test Case]
+ 1) Install the packages 'apache2', 'libxml2', and 'libapache2-mod-proxy-html'
+ 2) Run the command 'sudo service apache2 start'
+ 
+ With the version in Precise, it will error out with:
+ apache2: Syntax error on line 210 of /etc/apache2/apache2.conf: Syntax error 
on line 1 of /etc/apache2/mods-enabled/proxy_html.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 'start' failed.
+ 
+ [Regression Potential]
+ Little as Apache doesn't run currently anyway.
+ 
+ libxml2 2.7.8.dfsg-5.1ubuntu4.1 running on Ubuntu 12.04 LTS
+ 
+ ORIGINAL REPORT
+ 
  See also package   libapache2-mod-proxy-html ,   file/link  /etc/apache2
  /mods-enabled/proxy_html.load
  
  # lsb_release -rd
  Description:  Ubuntu 12.04 LTS
  Release:  12.04
  
  (64 bit)
  
- 
  # apt-cache policy libxml2
  libxml2:
-   Installed: 2.7.8.dfsg-5.1ubuntu4.1
-   Candidate: 2.7.8.dfsg-5.1ubuntu4.1
-   Version table:
-  *** 2.7.8.dfsg-5.1ubuntu4.1 0
- 500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 
Packages
- 500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 
Packages
- 100 /var/lib/dpkg/status
-  2.7.8.dfsg-5.1ubuntu4 0
- 500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
- 
+   Installed: 2.7.8.dfsg-5.1ubuntu4.1
+   Candidate: 2.7.8.dfsg-5.1ubuntu4.1
+   Version table:
+  *** 2.7.8.dfsg-5.1ubuntu4.1 0
+ 500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 
Packages
+ 500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 
Packages
+ 100 /var/lib/dpkg/status
+  2.7.8.dfsg-5.1ubuntu4 0
+ 500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
  
  # apt-cache policy libapache2-mod-proxy-html:
  libapache2-mod-proxy-html:
-   Installed: 3.0.1-1
-   Candidate: 3.0.1-1
-   Version table:
-  *** 3.0.1-1 0
- 500 http://de.archive.ubuntu.com/ubuntu/ precise/universe amd64 
Packages
- 100 /var/lib/dpkg/status
+   Installed: 3.0.1-1
+   Candidate: 3.0.1-1
+   Version table:
+  *** 3.0.1-1 0
+ 500 http://de.archive.ubuntu.com/ubuntu/ precise/universe amd64 
Packages
+ 100 /var/lib/dpkg/status
  
  Expected:
  I expected apache to start including module proxy_html.load.
  
  What happened:
  apache2 failed to start and showed an error message
  # service apache2 start
-  * Starting web server apache2
apache2: Syntax error on line 210 of 
/etc/apache2/apache2.conf: Syntax error on line 1 of 
/etc/apache2/mods-enabled/proxy_html.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
+  * Starting web server apache2
apache2: Syntax error on line 210 of 
/etc/apache2/apache2.conf: Syntax error on line 1 of 
/etc/apache2/mods-enabled/proxy_html.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 'start' failed.
  The Apache error log may have more information.
-   
 [fail]
+   
 [fail]
  
  proxy_html.load tries to load libxml2  (LoadFile /usr/lib/libxml2.so.2), but 
libxml2 only provides under /usr/lib/x86_64-linux-gnu
  (under 10.04 64 bit things are available under /usr/lib)
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: libxml2 2.7.8.dfsg-5.1ubuntu4.1
  ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
  Uname: Linux 3.2.0-24-generic x86_64
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Mon May 28 09:25:26 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS Precise Pangolin - Release amd64 
(20120424.1)
  ProcEnviron:
-  LANGUAGE=en_US:en
-  TERM=xterm
-  PATH=(custom, no user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=en_US:en
+  TERM=xterm
+  PATH=(custom, no user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: libxml2
  UpgradeStatus: No upgrade log 

[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-05-28 Thread kroq-gar78
Gerben,

Can you post the output of uname -m on your 32-bit machine? I'm just
trying to make sure that that's an alternative to using dpkg-
architecture

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005425

Title:
  [SRU] Not looking for library in multiarch-friendly path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-05-28 Thread Ubuntu Foundation's Bug Bot
The attachment Fix path to use multiarch-friendly in 'postinst' script
(no typo) of this bug report has been identified as being a patch.  The
ubuntu-reviewers team has been subscribed to the bug report so that they
can review the patch.  In the event that this is in fact not a patch you
can resolve this situation by removing the tag 'patch' from the bug
report and editing the attachment so that it is not flagged as a patch.
Additionally, if you are member of the ubuntu-reviewers team please also
unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by
Brian Murray.  Please contact him regarding any issues with the action
taken in this bug report.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005425

Title:
  [SRU] Not looking for library in multiarch-friendly path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-05-28 Thread kroq-gar78
** Description changed:

  SRU Request for Precise
  
  # SRU Justification #
  
  [Impact]
  
- 
  [Development Fix]
- 
+ I added the sed command mentioned below into the debian/postinst script so 
that the path is corrected at installation. Editing the file 
(debian/conf/proxy_html.load) itself won't be of any use because the path 
differs by architecture.
  
  [Stable Fix]
  Edit the file /etc/apache2/mods-enabled/proxy_html.load to include the right 
path using the following sed command:
  
  sed  -i s/\/usr\/lib\/libxml2.so.2/\/usr\/lib\/`dpkg-architecture
  -qDEB_HOST_GNU_TYPE`\/libxml2.so.2/g /etc/apache2/mods-
  available/proxy_html.load
  
  [Test Case]
  1) Install the packages 'apache2', 'libxml2', and 'libapache2-mod-proxy-html'
  2) Run the command 'sudo service apache2 start'
  
  With the version in Precise, it will error out with:
  apache2: Syntax error on line 210 of /etc/apache2/apache2.conf: Syntax error 
on line 1 of /etc/apache2/mods-enabled/proxy_html.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 'start' failed.
  
  [Regression Potential]
  Little as Apache doesn't run currently anyway.
  
  libxml2 2.7.8.dfsg-5.1ubuntu4.1 running on Ubuntu 12.04 LTS
  
  ORIGINAL REPORT
  
  See also package   libapache2-mod-proxy-html ,   file/link  /etc/apache2
  /mods-enabled/proxy_html.load
  
  # lsb_release -rd
  Description:  Ubuntu 12.04 LTS
  Release:  12.04
  
  (64 bit)
  
  # apt-cache policy libxml2
  libxml2:
    Installed: 2.7.8.dfsg-5.1ubuntu4.1
    Candidate: 2.7.8.dfsg-5.1ubuntu4.1
    Version table:
   *** 2.7.8.dfsg-5.1ubuntu4.1 0
  500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 
Packages
  500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 
Packages
  100 /var/lib/dpkg/status
   2.7.8.dfsg-5.1ubuntu4 0
  500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
  
  # apt-cache policy libapache2-mod-proxy-html:
  libapache2-mod-proxy-html:
    Installed: 3.0.1-1
    Candidate: 3.0.1-1
    Version table:
   *** 3.0.1-1 0
  500 http://de.archive.ubuntu.com/ubuntu/ precise/universe amd64 
Packages
  100 /var/lib/dpkg/status
  
  Expected:
  I expected apache to start including module proxy_html.load.
  
  What happened:
  apache2 failed to start and showed an error message
  # service apache2 start
   * Starting web server apache2
apache2: Syntax error on line 210 of 
/etc/apache2/apache2.conf: Syntax error on line 1 of 
/etc/apache2/mods-enabled/proxy_html.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 'start' failed.
  The Apache error log may have more information.
    
 [fail]
  
  proxy_html.load tries to load libxml2  (LoadFile /usr/lib/libxml2.so.2), but 
libxml2 only provides under /usr/lib/x86_64-linux-gnu
  (under 10.04 64 bit things are available under /usr/lib)
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: libxml2 2.7.8.dfsg-5.1ubuntu4.1
  ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
  Uname: Linux 3.2.0-24-generic x86_64
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Mon May 28 09:25:26 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS Precise Pangolin - Release amd64 
(20120424.1)
  ProcEnviron:
   LANGUAGE=en_US:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: libxml2
  UpgradeStatus: No upgrade log present (probably fresh install)

** Description changed:

  SRU Request for Precise
  
  # SRU Justification #
  
  [Impact]
  
  [Development Fix]
  I added the sed command mentioned below into the debian/postinst script so 
that the path is corrected at installation. Editing the file 
(debian/conf/proxy_html.load) itself won't be of any use because the path 
differs by architecture.
  
  [Stable Fix]
  Edit the file /etc/apache2/mods-enabled/proxy_html.load to include the right 
path using the following sed command:
  
  sed  -i s/\/usr\/lib\/libxml2.so.2/\/usr\/lib\/`dpkg-architecture
  -qDEB_HOST_GNU_TYPE`\/libxml2.so.2/g /etc/apache2/mods-
  available/proxy_html.load
  
  [Test Case]
  1) Install the packages 'apache2', 'libxml2', and 'libapache2-mod-proxy-html'
  2) Run the command 'sudo service apache2 start'
  
  With the version in Precise, it will error out with:
  apache2: Syntax error on line 210 of /etc/apache2/apache2.conf: Syntax error 
on line 1 of /etc/apache2/mods-enabled/proxy_html.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 'start' failed.
  
  [Regression Potential]
- 

[Bug 1005425] Re: [SRU] Not looking for library in multiarch-friendly path

2012-05-28 Thread Gerben
Hi,

geus@b32s1204:~$ uname -m
i686

(image ubuntu-12.04-server-i386.iso used to install inside kvm hypervisor)
Gerben

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005425

Title:
  [SRU] Not looking for library in multiarch-friendly path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-proxy-html/+bug/1005425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs