Your message dated Mon, 25 May 2026 17:55:41 -0400
with message-id <[email protected]>
and subject line Fixed in Podman 5.8.2+ds1-1
has caused the Debian Bug report #1130252,
regarding podman: build --squash is not squashing the built images
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1130252: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1130252
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: podman
Version: 5.7.0+ds2-3
Severity: normal

podman has two squashing build parameters:

   --squash
       Squash all of the image's new layers into a single new layer; any 
preexisting layers are not squashed.

   --squash-all
       Squash all of the new image's layers (including those inherited from a 
base image) into a single new layer.

The '--squash' parameter doesn't work. Note from the below session 
excerpt, the image checksum for '--squash' and '<nothing>' are 
identical, and contain 23 layers.

Expected behaviour would be base image + 1. In this case base image has 
22. (I can provide this container source if requested, but it's not 
relevant)

$ podman build -t nosquash ./
$ podman build --squash -t squash ./
$ podman build --squash-all -t squashall ./
$ skopeo inspect containers-storage:localhost/nosquash | jq '.Layers | length'
23
$ skopeo inspect containers-storage:localhost/squash | jq '.Layers | length'
23
$ skopeo inspect containers-storage:localhost/squashall | jq '.Layers | length'
1

$ podman images | head
REPOSITORY              TAG          IMAGE ID      CREATED         SIZE
localhost/squashall     latest       539639a5c074  5 minutes ago   1.07 GB
localhost/squash        latest       8b6e819c2b11  6 minutes ago   1.08 GB
localhost/nosquash      latest       8b6e819c2b11  6 minutes ago   1.08 GB





-- System Information:
Debian Release: 13.3
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-security'), (500, 'oldoldstable'), 
(500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.16.9+deb14-amd64 (SMP w/24 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages podman depends on:
ii  conmon                           2.1.12-4
ii  golang-github-containers-common  0.66.0+ds2-3
ii  init-system-helpers              1.69~deb13u1
ii  libc6                            2.41-12+deb13u1
ii  libgpgme45                       2.0.1-2
ii  libseccomp2                      2.6.0-2
ii  libsqlite3-0                     3.46.1-7
ii  libsubid5                        1:4.17.4-2
ii  netavark                         1.14.0-2
ii  runc                             1.1.15+ds1-2+b4

Versions of packages podman recommends:
ii  buildah             1.42.1+ds1-2
ii  ca-certificates     20250419
ii  containers-storage  1.57.2+ds1-1+b2
ii  criu                4.1.1-1
ii  dbus-user-session   1.16.2-2
ii  libcriu2            4.1.1-1
ii  passt               0.0~git20250503.587980c-2
ii  slirp4netns         1.2.1-1.1
ii  tini                0.19.0-3+b5
ii  uidmap              1:4.17.4-2

Versions of packages podman suggests:
ii  containernetworking-plugins  1.1.1+ds1-3+b17
ii  docker-compose               2.26.1-4
ii  iptables                     1.8.11-2

-- no debconf information

-- 
👱🏻      Jonathan Dowland
✎           [email protected]
🔗               jmtd.net

--- End Message ---
--- Begin Message ---
Version: 5.8.2+ds1-1

Hello,

This bug was reported against Podman 5.7.0, where the --squash 
parameter was found to be non-functional.

Podman version 5.8.2+ds1-1 is now available in Debian unstable. This 
version includes the fixes for the squashing behavior.

Thank you for the report and for following up with tests.

Regards,
-rt

--- End Message ---

Reply via email to