Closed Iksas closed 2 weeks ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
Any local version of smokeping I build with docker 27.2.0
fails when trying to pull it with podman. Even version 2.8.2-r3-ls105
, which works when pulling it from the official server.
This looks like a bug with docker 27.2.0
to me. Here's the timeline:
smokeping ls105
is released and worksdocker 27.2.0
is releasedsmokeping ls106
is released and doesn't worksmokeping ls105
fails to build with docker 27.2.0
I'll try to build smokeping ls106
with the older docker 27.1.2
. If it works, this bug is caused by some issue with docker 27.2.0
.
Ok, looks like the problem is caused by PPI-1.179
, which was released on 2024-08-23. It looks like the files of this package are extracted with the wrong user/group.
Older, working version:
sudo docker run -it lscr.io/linuxserver/smokeping:2.8.2-r3-ls105 bash -c 'ls -la /root/.cpanm/work/1724186067.247'
[...]
drwxrwxr-x 6 1000 users 4096 Aug 20 20:36 PPI-1.278
-rw-r--r-- 1 root root 248797 Mar 11 02:22 PPI-1.278.tar.gz
[...]
Newest, broken version:
sudo docker run -it lscr.io/linuxserver/smokeping:latest bash -c 'ls -la /root/.cpanm/work/1725395849.247'
[...]
drwxrwxr-x 6 197609 197609 4096 Sep 3 20:38 PPI-1.279
-rw-r--r-- 1 root root 243582 Aug 23 14:05 PPI-1.279.tar.gz
[...]
The PPI-1.279
tarball is fetched during the build process:
sudo docker build --no-cache --pull --progress=plain -t lscr.io/linuxserver/smokeping:local-build .
[...]
#8 699.4 --> Working on PPI
#8 699.4 Fetching http://www.cpan.org/authors/id/M/MI/MITHALDU/PPI-1.279.tar.gz ... OK
#8 699.9 Configuring PPI-1.279 ... OK
[...]
#8 740.6 Building and testing PPI-1.279 ... OK
#8 970.2 Successfully installed PPI-1.279
[...]
I'm generally reluctant to add workarounds for weird quirks like this because they end up hanging around forever, but the simplest fix is probably just to cleanup the /root/.cpanm folder at the end of the build.
Can you give the build from #182 a try once it completes and see if it fixes your issue.
Thanks, the build from #182 works fine.
I've also opened an issue in the upstream repo to address the root cause of the problem.
Is there an existing issue for this?
Current Behavior
Podman fails while trying to pull the latest container version:
The same error also occurs when running
podman pull lscr.io/linuxserver/smokeping:latest
.Note that the first five blobs are copied twice instead of once.This is not related to the error. On local builds, each blob is only copied once, but the error occurs nonetheless.While pulling the image, podman seems to attempt to use a
subuid:subgid
combination of197609:197609
, which lies outside of the ranges configured for the user:Running
podman system migrate
also does not fix the issue.Expected Behavior
When trying to pull the previous version
2.8.2-r3-ls105
, podman does not fail:Steps To Reproduce
podman
podman pull lscr.io/linuxserver/smokeping:2.8.2-r3-ls106
.Environment
CPU architecture
x86-64 and aarch64
Docker creation
Container logs