Bug 2319121

Summary: Old containers don't start when fuse-overlayfs(1) is missing
Product: [Fedora] Fedora Reporter: Debarshi Ray <debarshir>
Component: toolboxAssignee: Debarshi Ray <debarshir>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 40CC: debarshir, go-sig, harrymichal, patrick, sumukher
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://discussion.fedoraproject.org/t/rpm-ostree-update-breaks-toolbox-fedora-40
Whiteboard:
Fixed In Version: toolbox-0.0.99.6-6.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-10-22 16:38:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Debarshi Ray 2024-10-16 10:26:25 UTC
Old Toolbx containers that were created with fuse-overlayfs(1) don't start when it's no longer available.

This has now come up because the Podman folks are trying to deprecate fuse-overlayfs(1) in favour of the Linux kernel's overlay file system, by removing the weak dependency from containers-common, after Fedora 40 was released:
https://src.fedoraproject.org/rpms/containers-common/c/447945e59a01cb67

Fedora completely ignores Suggests by default. So, listing anything as Suggests is as good as not mentioning it at all.

It turns out that there are still several containers out there in the wild as several people have reported that their containers don't start after this:
https://discussion.fedoraproject.org/t/rpm-ostree-update-breaks-toolbox-fedora-40/120095/8
https://github.com/containers/toolbox/issues/1512

The dependency was restored for Fedora Silverblue 40, and is probably going to be restored for Fedora 40 in general, because it shouldn't have been removed after it was released:
https://pagure.io/workstation-ostree-config/pull-request/526
https://github.com/containers/common/pull/2203
https://src.fedoraproject.org/rpms/containers-common/pull-request/38

The question about how to handle the upgrade from Fedora 40 to 41 and Rawhide still remains.

If we are to deprecate fuse-overlayfs(1), then we need to actually detect the situation in Toolbx and offer users a migration path.

However, there's not much time before Fedora 41 is released because we entered Final Freeze yesterday:
https://fedorapeople.org/groups/schedule/f-41/f-41-key-tasks.html

So, the short-term fix would be to reinstate the dependency on fuse-overlayfs(1) until we work out a migration strategy.

Reproducible: Always

Comment 1 Fedora Update System 2024-10-16 11:07:40 UTC
FEDORA-2024-b7ceba50a1 (toolbox-0.0.99.6-6.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-b7ceba50a1

Comment 2 Fedora Update System 2024-10-17 02:17:37 UTC
FEDORA-2024-b7ceba50a1 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-b7ceba50a1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-b7ceba50a1

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2024-10-22 16:38:02 UTC
FEDORA-2024-b7ceba50a1 (toolbox-0.0.99.6-6.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.