[Bug 1737661] Re: Bionic net installer on ppc64el fails, can't chroot to target

Frank Heimes 1737661 at bugs.launchpad.net
Tue Dec 12 13:05:54 UTC 2017


** Also affects: ubuntu-power-systems
   Importance: Undecided
       Status: New

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

Title:
  Bionic net installer on ppc64el fails, can't chroot to target

Status in The Ubuntu-power-systems project:
  New
Status in debian-installer package in Ubuntu:
  New

Bug description:
  When attempting a netboot install on bionic, it fails during base
  system install, with the message:

  .  │  │                       Debootstrap warning                        │  │
  .  │  │ Warning: Failure trying to run: chroot /target dpkg-deb -f       │  │
  .  │  │ /var/cache/apt/archives/dpkg_1.19.0.4ubuntu1_ppc64el.deb Version │  │

  
  Trying to run anything in the chroot at /target/ fails:

    ~ # chroot /target /bin/bash
    chroot: can't execute '/bin/bash': No such file or directory
    ~ # ls -l /target/bin/bash
    -rwxr-xr-x    1 root     root       1544376 May 17  2017 /target/bin/bash

  ... which looks like a missing dynamic linker:

    $ readelf -l bash | grep interpreter
        [Requesting program interpreter: /lib64/ld64.so.2]

    ~ # ls -l /target/lib64/ld64.so.2
    ls: /target/lib64/ld64.so.2: No such file or directory
    ~ # ls -la /target/lib64/
    drwxr-xr-x    2 root     root          4096 Oct 11 20:21 .
    drwxr-xr-x   20 root     root          4096 May 23  2017 ..

  The syslog seems to indicate that the installer failed to untar a
  symlink:

    Dec 12 05:17:36 debootstrap: tar: skipping unsafe symlink to '/lib
  /powerpc64le-linux-gnu/ld-2.26.so' in archive, set
  EXTRACT_UNSAFE_SYMLINKS=1 to extract

  I've attached a script to reproduce the issue in qemu. I can provide
  the full syslog if you need it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1737661/+subscriptions



More information about the foundations-bugs mailing list