Upgrade from 20.10.21-0ubuntu1~22.04.3 to 20.10.25-0ubuntu1~22.04.1 introduces overlayfs permission issues

Bug #2030778 reported by Christoph Kindl
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
docker.io (Ubuntu)
Fix Committed
Undecided
Unassigned

Bug Description

I upgraded from 20.10.21-0ubuntu1~22.04.3 to 20.10.25-0ubuntu1~22.04.1 today, rebooted my machine and noticed that some of my containers did no longer start successfully after re-creating them. Somehow, the upgrade messed with permissions of overlayfs files such that I got "Permission denied" errors although the process inside the container runs as root.

Docker containers are managed with docker-compose

# lsb_release output #

Description: Ubuntu 22.04.3 LTS
Release: 22.04

# apt-cache policy output #

* docker.io

  Installed: 20.10.21-0ubuntu1~22.04.3
  Candidate: 20.10.25-0ubuntu1~22.04.1
  Version table:
     20.10.25-0ubuntu1~22.04.1 500
        500 http://de.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages
 *** 20.10.21-0ubuntu1~22.04.3 500
        500 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages
        100 /var/lib/dpkg/status
     20.10.12-0ubuntu4 500
        500 http://de.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages

* docker-compose

docker-compose:
  Installed: 1.29.2-1
  Candidate: 1.29.2-1
  Version table:
 *** 1.29.2-1 500
        500 http://de.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://de.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Christoph Kindl (ckristo) wrote :

As indicated by the apt-cache policy output, I downgraded to 20.10.21-0ubuntu1~22.04.3, restarted the machine, and re-build my containers - afterwards everything worked again.

Revision history for this message
Christoph Kindl (ckristo) wrote :

Also raised for docker.io-app package, as it seems the target version that causes issues (20.10.25-0ubuntu1~22.04.1) is associated with that one instead. See https://bugs.launchpad.net/ubuntu/+source/docker.io-app/+bug/2030780

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in docker.io (Ubuntu):
status: New → Confirmed
Revision history for this message
Max Gaukler (mgmax) wrote :
Changed in docker.io (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Eero-t-tamminen (eero-t-tamminen) wrote :

Upgrade caused also "chown" command to have no effect, which broke all my container builds (as my base containers use "chown" so they can use something else than root user for builds).

Revision history for this message
Eero-t-tamminen (eero-t-tamminen) wrote :

^That was on 22.04, where "docker.io" got updated during upgrade.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.