dante-server using the wrong libc.so
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dante (Ubuntu) |
Fix Released
|
Undecided
|
Louis Bouchard | ||
Precise |
Fix Released
|
Medium
|
Louis Bouchard |
Bug Description
SRU justification :
Without this correction, the danted daemon fails to start
Impact :
Without a manual workaround, danted is unusable
Fix :
Correct the search logic to find & use the proper library path
Test Case :
- Install dante-server
- Configure /etc/danted.conf
- start danted with
$ invoke-rc.d danted start
Regression :
Should be minimal as only one more search path is added to the lookup
Original description of the problem :
in natty/amd_64 /etc/init.d/danted start ends with a
Failed to open "libc.so": /usr/lib/
The file is plain text, not ELF
/* GNU ld script
Use the shared library, but some functions are only in
the static library, so try that secondarily. */
OUTPUT_
GROUP ( /lib/x86_
and so danted dies.
work around is:
sudo ln -sf /lib/x86_
$ uname -a
Linux LTSP 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04
$ apt-cache policy dante-server
dante-server:
Instalados: 1.1.19.
Candidato: 1.1.19.
Tabla de versión:
*** 1.1.19.
500 http://
100 /var/lib/
1.
500 http://
Changed in dante (Ubuntu): | |
status: | New → Confirmed |
Changed in dante (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in dante (Ubuntu): | |
assignee: | nobody → Louis Bouchard (louis-bouchard) |
Changed in dante (Ubuntu Precise): | |
assignee: | nobody → Louis Bouchard (louis-bouchard) |
Changed in dante (Ubuntu Precise): | |
status: | Triaged → In Progress |
description: | updated |
As reported by Alejandro, this works as a workaround:
sudo rm /usr/lib/ x86_64- linux-gnu/ libc.so 64-linux- gnu/libc- 2.13.so /usr/lib/ x86_64- linux-gnu/ libc.so
sudo ln -sf /lib/x86_
$ uname -a
Linux squeezepro 2.6.38-10-server #46-Ubuntu SMP Tue Jun 28 16:31:00 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04
$ apt-cache policy dante-server dfsg-3ubuntu4. 1 dfsg-3ubuntu4. 1 dfsg-3ubuntu4. 1 0 be.archive. ubuntu. com/ubuntu/ natty-updates/ universe amd64 Packages dpkg/status 1.19.dfsg- 3ubuntu4 0 be.archive. ubuntu. com/ubuntu/ natty/universe amd64 Packages
dante-server:
Installed: 1.1.19.
Candidate: 1.1.19.
Version table:
*** 1.1.19.
500 http://
100 /var/lib/
1.
500 http://