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

Marc Deslauriers marc.deslauriers at canonical.com
Fri Aug 16 13:59:08 UTC 2013


Thanks for the debdiffs!

Could you please fix a couple of small details:

1- The debian/changelog refers to the 03-configure.patch changes twice. Please remove one of them.
2- Please add the name of the 16-fix-dlopen.patch patch to the appropriate section in debian/changelog
3- The 16-fix-dlopen.patch patch contains the comment "#nothing found, set libc.so anyway", which is wrong. Please adjust.
4- On my system, LIBRARY_DLOPEN gives two results: /lib/i386-linux-gnu/libdl.so.2 /lib/x86_64-linux-gnu/libdl.so.2. Please fix so it only gets set to a single result. Actually, this probably needs to be fixed better. In a buildd, you most likely won't have multiarch packages, so it probably isn't an issue, but if you try to build on a system with multiarch packages, you may end up with the wrong library paths. Perhaps we should be using DEB_HOST_ARCH or something?

-- 
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