[SRU] Not looking for library in multiarch-friendly path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mod-proxy-html (Debian) |
Fix Released
|
Unknown
|
|||
mod-proxy-html (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Won't Fix
|
Undecided
|
Aditya V |
Bug Description
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/
[Stable Fix]
Edit the file /etc/apache2/
sed -i "s/\/usr\
[Test Case]
1) Install the packages 'apache2', 'libxml2', and 'libapache2-
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/
Action 'start' failed.
[Regression Potential]
Little, as Apache doesn't run currently anyway
libxml2 2.7.8.dfsg-
-------
See also package libapache2-
# lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04
(64 bit)
# apt-cache policy libxml2
libxml2:
Installed: 2.7.8.dfsg-
Candidate: 2.7.8.dfsg-
Version table:
*** 2.7.8.dfsg-
500 http://
500 http://
100 /var/lib/
2.
500 http://
# apt-cache policy libapache2-
libapache2-
Installed: 3.0.1-1
Candidate: 3.0.1-1
Version table:
*** 3.0.1-1 0
500 http://
100 /var/lib/
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/
Action 'start' failed.
The Apache error log may have more information.
proxy_html.load tries to load libxml2 (LoadFile /usr/lib/
(under 10.04 64 bit things are available under /usr/lib)
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libxml2 2.7.8.dfsg-
ProcVersionSign
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)
Related branches
- Andrew Starr-Bochicchio (community): Disapprove
- Ubuntu branches: Pending requested
-
Diff: 50 lines (+19/-5) (has conflicts)2 files modifieddebian/changelog (+11/-0)
debian/postinst (+8/-5)
- James Page: Needs Fixing
- Andrew Starr-Bochicchio (community): Needs Fixing
- Ubuntu branches: Pending requested
-
Diff: 40 lines (+16/-5)2 files modifieddebian/changelog (+8/-0)
debian/postinst (+8/-5)
affects: | libxml2 (Ubuntu) → mod-proxy-html (Ubuntu) |
Changed in mod-proxy-html (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → kroq-gar78 (kroq-gar78) |
summary: |
- Library not found where expected (by libapache2-mod-proxy-html) + Library not found where expected |
summary: |
- Library not found where expected + Not looking in multiarch-friendly path |
description: | updated |
description: | updated |
tags: | removed: patch |
Changed in mod-proxy-html (Debian): | |
status: | Unknown → Fix Released |
Changed in mod-proxy-html (Ubuntu): | |
status: | Incomplete → Fix Released |
assignee: | kroq-gar78 (kroq-gar78) → nobody |
Seems like libxml2.so.2 is in the folder "/usr/lib/ x86_64- linux-gnu/ " on my 64-bit Precise. Are you using a 32-bit or 64-bit machine to produce this bug?