Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #932437

Bug#916043: qemu-user-static: qemu-arm-static running armel dash breaks globbing

From Ian Campbell <ijc@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#916043: qemu-user-static: qemu-arm-static running armel dash breaks globbing
Date 2018-12-09 16:30 +0100
Message-ID <x39bP-7sX-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: qemu-user-static
Version: 1:2.12+dfsg-3+b1
Severity: normal

Dear Maintainer,

While working on a new qcontrol package, using a cross-schroot via
qemu-arm-static on an amd64 host, I noticed that globs did not appear to be
expanded when running dash. It appears to relate to libc 2.28-2 but only when
running under qemu-arm-static:

    ijc@dagon:dash-bug$ curl -LOJ "http://ftp.uk.debian.org/debian/pool/main/d/dash/dash_0.5.10.2-1_armel.deb"
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100  105k  100  105k    0     0  1074k      0 --:--:-- --:--:-- --:--:-- 1074k
    ijc@dagon:dash-bug$ curl -LOJ "http://ftp.uk.debian.org/debian/pool/main/g/glibc/libc6_2.28-2_armel.deb"
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 2340k  100 2340k    0     0  5454k      0 --:--:-- --:--:-- --:--:-- 5454k
    ijc@dagon:dash-bug$ curl -LOJ "http://ftp.uk.debian.org/debian/pool/main/g/glibc/libc6_2.27-8_armel.deb"
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 2371k  100 2371k    0     0  5305k      0 --:--:-- --:--:-- --:--:-- 5293k
    ijc@dagon:dash-bug$ dpkg-deb -x libc6_2.27-8_armel.deb 2.27-8
    ijc@dagon:dash-bug$ dpkg-deb -x dash_0.5.10.2-1_armel.deb 2.27-8
    ijc@dagon:dash-bug$ dpkg-deb -x libc6_2.28-2_armel.deb 2.28-2
    ijc@dagon:dash-bug$ dpkg-deb -x dash_0.5.10.2-1_armel.deb 2.28-2
    ijc@dagon:dash-bug$ dpkg -l qemu-user-static
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name                    Version          Architecture     Description
    +++-=======================-================-================-====================================================
    ii  qemu-user-static        1:2.12+dfsg-3+b1 amd64            QEMU user mode emulation binaries (static version)
    ijc@dagon:dash-bug$ mkdir 2.27-8/usr/bin/ 2.28-2/usr/bin
    ijc@dagon:dash-bug$ cp /usr/bin/qemu-arm-static 2.27-8/usr/bin/
    ijc@dagon:dash-bug$ cp /usr/bin/qemu-arm-static 2.28-2/usr/bin/
    ijc@dagon:dash-bug$ sudo chroot 2.27-8/ dash -c 'echo *'
    bin etc lib usr
    ijc@dagon:dash-bug$ sudo chroot 2.28-2/ dash -c 'echo *'
    *
    ijc@dagon:dash-bug$ uname -a
    Linux dagon 4.17.0-1-amd64 #1 SMP Debian 4.17.8-1 (2018-07-20) x86_64 GNU/Linux

However I cannot reproduce on my qnap (armel):

    root@qnap:~/dash-bug# curl -LOJ "http://ftp.uk.debian.org/debian/pool/main/d/dash/dash_0.5.10.2-1_armel.deb"
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100  105k  100  105k    0     0  1012k      0 --:--:-- --:--:-- --:--:-- 1012k
    root@qnap:~/dash-bug# curl -LOJ "http://ftp.uk.debian.org/debian/pool/main/g/glibc/libc6_2.28-2_armel.deb"
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 2340k  100 2340k    0     0  3720k      0 --:--:-- --:--:-- --:--:-- 3720k
    root@qnap:~/dash-bug# curl -LOJ "http://ftp.uk.debian.org/debian/pool/main/g/glibc/libc6_2.27-8_armel.deb"
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 2371k  100 2371k    0     0  3676k      0 --:--:-- --:--:-- --:--:-- 3676k
    root@qnap:~/dash-bug# dpkg-deb -x libc6_2.27-8_armel.deb 2.27-8
    root@qnap:~/dash-bug# dpkg-deb -x dash_0.5.10.2-1_armel.deb 2.27-8
    root@qnap:~/dash-bug# dpkg-deb -x libc6_2.28-2_armel.deb 2.28-2
    root@qnap:~/dash-bug# dpkg-deb -x dash_0.5.10.2-1_armel.deb 2.28-2
    root@qnap:~/dash-bug# chroot 2.27-8/ dash -c 'echo *'
    bin etc lib usr
    root@qnap:~/dash-bug# chroot 2.28-2/ dash -c 'echo *'
    bin etc lib usr
    root@qnap:~/dash-bug# uname -a
    Linux qnap 4.18.0-3-marvell #1 Debian 4.18.20-2 (2018-11-23) armv5tel GNU/Linux

Nor on abel.debian.org (armel porter box, but with armhf kernel so not
necessarily a good data point):

    (sid_armel-dchroot)ijc@abel:/$ apt policy dash libc6
    dash:
      Installed: 0.5.10.2-1
      Candidate: 0.5.10.2-1
      Version table:
     *** 0.5.10.2-1 500
            500 http://ftp.uk.debian.org/debian sid/main armel Packages
            100 /var/lib/dpkg/status
    libc6:
      Installed: 2.28-2
      Candidate: 2.28-2
      Version table:
     *** 2.28-2 500
            500 http://ftp.uk.debian.org/debian sid/main armel Packages
            100 /var/lib/dpkg/status
    (sid_armel-dchroot)ijc@abel:/$ /bin/dash -c 'echo *'             
    bin boot dev etc home lib media mnt opt proc root run sbin srv sys tmp usr var
    ijc@abel:~$ uname -a
    Linux abel 4.9.0-8-armmp-lpae #1 SMP Debian 4.9.130-2 (2018-10-27) armv7l GNU/Linux


So my best theory is that it is qemu-user-static related so filing with you to
start with.

Thanks,
Ian.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, armel, arm64

Kernel: Linux 4.17.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

qemu-user-static depends on no packages.

Versions of packages qemu-user-static recommends:
ii  binfmt-support  2.1.8-2

Versions of packages qemu-user-static suggests:
ii  sudo  1.8.23-2

-- no debconf information

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#916043: qemu-user-static: qemu-arm-static running armel dash breaks globbing Ian Campbell <ijc@debian.org> - 2018-12-09 16:30 +0100
  Bug#916043: qemu-user-static: qemu-arm-static running armel dash breaks globbing Michael Tokarev <mjt@tls.msk.ru> - 2018-12-21 15:00 +0100
    Bug#916043: qemu-user-static: qemu-arm-static running armel dash breaks globbing Ian Campbell <ijc@debian.org> - 2018-12-21 19:20 +0100
  Bug#916043: qemu-user-static: qemu-arm-static running armel dash breaks globbing Michael Tokarev <mjt@tls.msk.ru> - 2018-12-21 19:40 +0100
    Bug#916043: qemu-user-static: qemu-arm-static running armel dash breaks globbing Ian Campbell <ijc@debian.org> - 2018-12-22 13:40 +0100
      Bug#916043: qemu-user-static: qemu-arm-static running armel dash breaks globbing Michael Tokarev <mjt@tls.msk.ru> - 2019-01-03 21:00 +0100

csiph-web