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


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

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 2020-07-27 23:00 +0200
Message-ID <Axio1-2no-5@gated-at.bofh.it> (permalink)
References <x39bP-7sX-1@gated-at.bofh.it> <x39bP-7sX-1@gated-at.bofh.it> <AwRHb-2Yh-1@gated-at.bofh.it> <x39bP-7sX-1@gated-at.bofh.it> <AwRHb-2Yh-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sun, 2020-07-26 at 19:26 +0300, Michael Tokarev wrote:
> Control: tag -1 + moreinfo
> 
> [ https://bugs.debian.org/916043 ]
> 
> On Sun, 09 Dec 2018 15:19:55 +0000 Ian Campbell <ijc@debian.org> wrote:
> > 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$ sudo chroot 2.27-8/ dash -c 'echo *'
> >     bin etc lib usr
> >     ijc@dagon:dash-bug$ sudo chroot 2.28-2/ dash -c 'echo *'
> >     *
> 
> I can't reproduce this anymore with any version of qemu-user-static.
> Maybe I really should have glibc_2.28-2 for this, lemme try it from
> snapshot.debian.org..  nope, installing it in an armel chroot over
> 2.28-10 version does not change anything there.
> 
> So I don't really know what to do with this bugreport.  Tried even
> jessie version of qemu, and also sid version (5.0), - it all Just Works.
> 
> Can you please try it again and see what's going in?

It still reproduced for me with the same dash + glibc as the original
report (I still had the dir in my ~/tmp), but not with anything newer.

I think the issue might actually be with _dash_ 0.5.10.2-1 specifically
when combined with glibc 2.28+. Given the two attached I ran:

   $ for i in $(cat urls) ; do curl -LOJv $i; done
   ...
   $ ./test.sh

Which produced the table at the end. Rows are glibc versions, columns
are dash.

It looks like dash 0.5.10.2-1 + glibc 2.28 onwards exhibits the issue.

But dash 0.5.10.2-2 onwards does not exhibit the issue when running
with glibc 2.28 onwards. That version of dash can't be tested against
glibc 2.27-8 due to dynamic linker error (which is normal and expected
when building with a newer glibc than you run with, I believe):

   /bin/dash: /lib/arm-linux-gnueabi/libc.so.6: version `GLIBC_2.28' not found (required by /bin/dash)

My guess is that dash built against glibc 2.27 but running with glibc
2.28 is what triggers the problem.

Given that neither dash 0.5.10.2-1 nor glibc 2.27 were ever in any
Debian release I'm personally not too worried about this bug any longer
so I'm happy if you want to close.

Ian.

                 0.5.10.2-1       0.5.10.2-2       0.5.10.2-3       0.5.10.2-4       0.5.10.2-5       0.5.10.2-6       0.5.10.2-7      
2.27-8           OK               GLIBC_2.28       GLIBC_2.28       GLIBC_2.28       GLIBC_2.28       GLIBC_2.28       GLIBC_2.28      
2.28-10          BUG              OK               OK               OK               OK               OK               OK              
2.28-1           BUG              OK               OK               OK               OK               OK               OK              
2.28-2           BUG              OK               OK               OK               OK               OK               OK              
2.28-3           BUG              OK               OK               OK               OK               OK               OK              
2.28-4           BUG              OK               OK               OK               OK               OK               OK              
2.28-5           BUG              OK               OK               OK               OK               OK               OK              
2.28-6           BUG              OK               OK               OK               OK               OK               OK              
2.28-7           BUG              OK               OK               OK               OK               OK               OK              
2.28-8           BUG              OK               OK               OK               OK               OK               OK              
2.28-9           BUG              OK               OK               OK               OK               OK               OK              
2.29-10          BUG              OK               OK               OK               OK               OK               OK              
2.29-1           BUG              OK               OK               OK               OK               OK               OK              
2.29-2           BUG              OK               OK               OK               OK               OK               OK              
2.29-3           BUG              OK               OK               OK               OK               OK               OK              
2.29-4           BUG              OK               OK               OK               OK               OK               OK              
2.29-5           BUG              OK               OK               OK               OK               OK               OK              
2.29-6           BUG              OK               OK               OK               OK               OK               OK              
2.29-7           BUG              OK               OK               OK               OK               OK               OK              
2.29-8           BUG              OK               OK               OK               OK               OK               OK              
2.29-9           BUG              OK               OK               OK               OK               OK               OK              
2.30-1           BUG              OK               OK               OK               OK               OK               OK              
2.30-2           BUG              OK               OK               OK               OK               OK               OK              
2.30-3           BUG              OK               OK               OK               OK               OK               OK              
2.30-4           BUG              OK               OK               OK               OK               OK               OK              
2.30-6           BUG              OK               OK               OK               OK               OK               OK              
2.30-7           BUG              OK               OK               OK               OK               OK               OK              
2.30-8           BUG              OK               OK               OK               OK               OK               OK              
2.31-1           BUG              OK               OK               OK               OK               OK               OK              
2.31-2           BUG              OK               OK               OK               OK               OK               OK              

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


Thread

Bug#916043: qemu-user-static: qemu-arm-static running armel dash breaks globbing Michael Tokarev <mjt@tls.msk.ru> - 2020-07-26 18:30 +0200
  Bug#916043: qemu-user-static: qemu-arm-static running armel dash breaks globbing Ian Campbell <ijc@debian.org> - 2020-07-27 23:00 +0200

csiph-web