[Bug 816153] Re: dante-server using the wrong libc.so

Louis Bouchard louis.bouchard at canonical.com
Fri Aug 16 14:42:24 UTC 2013


updated debdiff with mdeslaur's comments applied

** Patch removed: "dante_1.1.19.dfsg-3ubuntu9.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/dante/+bug/816153/+attachment/3734614/+files/dante_1.1.19.dfsg-3ubuntu9.debdiff

** Patch removed: "dante_1.1.19.dfsg-3ubuntu7.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/dante/+bug/816153/+attachment/3734615/+files/dante_1.1.19.dfsg-3ubuntu7.debdiff

** Patch added: "dante_1.1.19.dfsg-3ubuntu7.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/dante/+bug/816153/+attachment/3775029/+files/dante_1.1.19.dfsg-3ubuntu7.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/816153

Title:
  dante-server using the wrong libc.so

Status in “dante” package in Ubuntu:
  In Progress
Status in “dante” source package in Precise:
  In Progress

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/x86_64-linux-gnu/libc.so: invalid ELF header

  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_FORMAT(elf64-x86-64)
  GROUP ( /lib/x86_64-linux-gnu/libc.so.6 /usr/lib/x86_64-linux-gnu/libc_nonshared.a  AS_NEEDED ( /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 ) )

  and so danted dies.

  work around is:
  sudo ln -sf /lib/x86_64-linux-gnu/libc-2.13.so /usr/lib/x86_64-linux-gnu/libc.so

  $ 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.dfsg-3ubuntu4.1
    Candidato:  1.1.19.dfsg-3ubuntu4.1
    Tabla de versión:
   *** 1.1.19.dfsg-3ubuntu4.1 0
          500 http://cl.archive.ubuntu.com/ubuntu/ natty-updates/universe amd64 Packages
          100 /var/lib/dpkg/status
       1.1.19.dfsg-3ubuntu4 0
          500 http://cl.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dante/+bug/816153/+subscriptions



More information about the Ubuntu-sponsors mailing list