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

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


This script, when placed into /etc/initramfs-tools/hooks (scripts there are run after all hooks in /usr/share/initramfs-tools/hooks) will add standard libraries for all libs from libc6-xen currently in the prepared initramfs.
So both variants get in if the initramfs is generated in dom0. This maybe is not optimal since it would be different from generating initramfs from non-xen mode. Since it was no problem to boot in xen mode with only the generic libraries, maybe removing the special versions from initramfs would be better...

** Attachment added: "Hook to be placed into /etc/initramfs-tools/hooks"
   https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1271534/+attachment/3954364/+files/libc6-xen

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