I noticed that installing 'strace' didn't trigger the libc6 install, so here's
a working strace (prior to libc6 upgrade):
execve("/usr/local/bin/test_executable.sh", ["test_executable.sh"],
0x7ffc0826c210 /* 5 vars */) = 0
brk(NULL) = 0x55706ff12000
arch_prctl(0x300
Sorry, I was using the wrong base docker image in that last test. Here's an
strace from 'rocker/r-base:4.1.2' + 'apt-get update && apt-get install strace':
execve("/usr/local/bin/test_executable.sh", ["test_executable.sh"],
0x7ffd6cca52a0 /* 7 vars */) = 0
brk(NULL)
Sorry, I got the base image wrong when experimenting with strace. Here's my
updated Dockerfile. I've confirmed that this bug still happens when I *only*
install libc6 (and dependencies):
--- begin Dockerfile ---
FROM rocker/r-base:4.1.2
COPY ./test_executable.sh /usr/local/bin
RUN test_executab
Bug exists for 2.33-3 [as in current "debian:testing" docker image]:
root@d6c1df8a7f2f:/# if test -x /usr/bin/head; then echo "/usr/bin/head is
executable"; else echo "dead beef"; fi; dpkg-query -l libc6
dead beef
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/ha
Also failing for 2.33-1 (as found in 'debian:testing-20211220' docker image):
root@3385b6c8f2c8:/# if test -x /usr/bin/head; then echo "/usr/bin/head is
executable"; else echo "dead beef"; fi; dpkg-query -l libc6
dead beef
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Un
Outside Debian (so I'm not sure how helpful this is), the bug doesn't exist in
the latest ' frolvlad/alpine-glibc ' docker image [Alpine linux], which from
the looks of it seems to be libc v2.34:
/ # if test -x /usr/bin/head; then echo "/usr/bin/head is executable"; else
echo "dead beef"; fi;
Package: libc6
Version: 2.33-6
Severity: important
X-Debbugs-Cc: b...@gringene.org
Dear Maintainer,
I'm not sure which package this bug is linked to; I'm fairly confident it's one
of the following:
fontconfig-config libbrotli-dev libbrotli1 libc-bin libc-dev-bin libc-l10n
libc6 libc6-dev libe
Possibly important information: the docker container is running on a
networked file system.
//fileShares.X.X.X/Bioinformatics on /var/autofs/Bioinformatics type
cifs (rw,relatime,vers=3.0,sec=ntlmssp,cache=strict,
username=XXX,domain=XXX,uid=0,noforceuid,gid=0,
noforcegid,addr=10.0
--- Dockerfile ---
FROM rocker/r-base:4.1.2
RUN echo "cachebust"
COPY ./test_executable.sh /usr/local/bin
RUN test_executable.sh
RUN apt-get update && apt-get install -y strace nano
RUN test_executable.sh
--- Dockerfile ---
--- test_executable.sh ---
#!/bin/sh
if test -x /usr/bin/head; then
9 matches
Mail list logo