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 <i...@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
test.sh
Description: application/shellscript
https://snapshot.debian.org/archive/debian/20180905T214003Z/pool/main/d/dash/dash_0.5.10.2-1_armel.deb https://snapshot.debian.org/archive/debian/20181212T183400Z/pool/main/d/dash/dash_0.5.10.2-2_armel.deb https://snapshot.debian.org/archive/debian/20181219T151842Z/pool/main/d/dash/dash_0.5.10.2-3_armel.deb https://snapshot.debian.org/archive/debian/20181220T155829Z/pool/main/d/dash/dash_0.5.10.2-4_armel.deb https://snapshot.debian.org/archive/debian/20190118T032345Z/pool/main/d/dash/dash_0.5.10.2-5_armel.deb https://snapshot.debian.org/archive/debian/20190718T224939Z/pool/main/d/dash/dash_0.5.10.2-6_armel.deb https://snapshot.debian.org/archive/debian/20200330T204311Z/pool/main/d/dash/dash_0.5.10.2-7_armel.deb https://snapshot.debian.org/archive/debian/20181030T030731Z/pool/main/g/glibc/libc6_2.27-8_armel.deb https://snapshot.debian.org/archive/debian/20181129T155534Z/pool/main/g/glibc/libc6_2.28-1_armel.deb https://snapshot.debian.org/archive/debian/20181206T103113Z/pool/main/g/glibc/libc6_2.28-2_armel.deb https://snapshot.debian.org/archive/debian/20181217T091644Z/pool/main/g/glibc/libc6_2.28-3_armel.deb https://snapshot.debian.org/archive/debian/20181229T221753Z/pool/main/g/glibc/libc6_2.28-4_armel.deb https://snapshot.debian.org/archive/debian/20190113T030047Z/pool/main/g/glibc/libc6_2.28-5_armel.deb https://snapshot.debian.org/archive/debian/20190206T152848Z/pool/main/g/glibc/libc6_2.28-6_armel.deb https://snapshot.debian.org/archive/debian/20190210T041156Z/pool/main/g/glibc/libc6_2.28-7_armel.deb https://snapshot.debian.org/archive/debian/20190301T035241Z/pool/main/g/glibc/libc6_2.28-8_armel.deb https://snapshot.debian.org/archive/debian/20190426T085516Z/pool/main/g/glibc/libc6_2.28-9_armel.deb https://snapshot.debian.org/archive/debian/20190502T031554Z/pool/main/g/glibc/libc6_2.28-10_armel.deb https://snapshot.debian.org/archive/debian/20190909T092018Z/pool/main/g/glibc/libc6_2.29-1_armel.deb https://snapshot.debian.org/archive/debian/20190921T144743Z/pool/main/g/glibc/libc6_2.29-2_armel.deb https://snapshot.debian.org/archive/debian/20191101T104357Z/pool/main/g/glibc/libc6_2.29-3_armel.deb https://snapshot.debian.org/archive/debian/20191126T025819Z/pool/main/g/glibc/libc6_2.29-4_armel.deb https://snapshot.debian.org/archive/debian/20191207T030126Z/pool/main/g/glibc/libc6_2.29-5_armel.deb https://snapshot.debian.org/archive/debian/20191210T085539Z/pool/main/g/glibc/libc6_2.29-6_armel.deb https://snapshot.debian.org/archive/debian/20191231T034458Z/pool/main/g/glibc/libc6_2.29-7_armel.deb https://snapshot.debian.org/archive/debian/20200105T210619Z/pool/main/g/glibc/libc6_2.29-8_armel.deb https://snapshot.debian.org/archive/debian/20200111T092322Z/pool/main/g/glibc/libc6_2.29-9_armel.deb https://snapshot.debian.org/archive/debian/20200205T035630Z/pool/main/g/glibc/libc6_2.29-10_armel.deb https://snapshot.debian.org/archive/debian/20200312T025555Z/pool/main/g/glibc/libc6_2.30-1_armel.deb https://snapshot.debian.org/archive/debian/20200313T090738Z/pool/main/g/glibc/libc6_2.30-2_armel.deb https://snapshot.debian.org/archive/debian/20200325T094213Z/pool/main/g/glibc/libc6_2.30-3_armel.deb https://snapshot.debian.org/archive/debian/20200325T211709Z/pool/main/g/glibc/libc6_2.30-4_armel.deb https://snapshot.debian.org/archive/debian/20200505T150017Z/pool/main/g/glibc/libc6_2.30-6_armel.deb https://snapshot.debian.org/archive/debian/20200506T024941Z/pool/main/g/glibc/libc6_2.30-7_armel.deb https://snapshot.debian.org/archive/debian/20200511T144628Z/pool/main/g/glibc/libc6_2.30-8_armel.deb https://snapshot.debian.org/archive/debian/20200714T030043Z/pool/main/g/glibc/libc6_2.31-1_armel.deb https://snapshot.debian.org/archive/debian/20200723T090455Z/pool/main/g/glibc/libc6_2.31-2_armel.deb