[Bug 1271534] [NEW] libc6-xen:i386 installation can cause panics on boot

Stefan Bader stefan.bader at canonical.com
Wed Jan 22 13:11:12 UTC 2014


Public bug reported:

The eglibc package produces a special libc6 package for i386 Xen
installations. This gets depended on by i386 Xen installs and causes
(via some ld.config rule) binaries to dynamically link against those
libraries. So while running inside a Xen guest (which dom0 is) the
following is true:

#> ldd /bin/sh
        linux-gate.so.1 =>  (0xb7734000)
        libc.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6 (0xb757900)
        /lib/ld-linux.so.2 (0xb7735000)

This creates a problem when update-initramfs is called inside dom0
because the automatic library resolver will only pick up the special
ones. When the host then gets rebooted into non-xen mode, this causes a
panic on boot because the standard libraries are not included in the
initramfs.

** Affects: eglibc (Ubuntu)
     Importance: High
         Status: Confirmed

** Changed in: eglibc (Ubuntu)
       Status: New => Confirmed

** Changed in: eglibc (Ubuntu)
   Importance: Undecided => High

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

Title:
  libc6-xen:i386 installation can cause panics on boot

Status in “eglibc” package in Ubuntu:
  Confirmed

Bug description:
  The eglibc package produces a special libc6 package for i386 Xen
  installations. This gets depended on by i386 Xen installs and causes
  (via some ld.config rule) binaries to dynamically link against those
  libraries. So while running inside a Xen guest (which dom0 is) the
  following is true:

  #> ldd /bin/sh
          linux-gate.so.1 =>  (0xb7734000)
          libc.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6 (0xb757900)
          /lib/ld-linux.so.2 (0xb7735000)

  This creates a problem when update-initramfs is called inside dom0
  because the automatic library resolver will only pick up the special
  ones. When the host then gets rebooted into non-xen mode, this causes
  a panic on boot because the standard libraries are not included in the
  initramfs.

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



More information about the foundations-bugs mailing list