From Fedora Project Wiki

(create page (using template))
 
(add 1752040 (podman / cgroups v2 / runc upgrade issue))
Line 12: Line 12:
  
 
{{Common_bugs_header_shared}}
 
{{Common_bugs_header_shared}}
 +
 +
== Upgrade issues ==
 +
 +
{{Common bugs issue|podman-cgroups2-runc|Podman fails to run containers on upgraded systems (due to use of runc runtime with cgroups v2)|1752040}}
 +
 +
If you upgrade a Fedora system where you have already installed and used podman to Fedora 31, after the upgrade it is likely podman will fail to launch containers any more. This is because on first use of podman in earlier Fedora releases a configuration file is written to the user's home directory which specifies that the {{command|runc}} runtime should be used to launch containers, but at present, {{command|runc}} does not work with version 2 of the kernel ''cgroups'' feature, as included in Fedora 31.
 +
 +
To resolve this issue, if you have not modified it in any other way, you can simply remove the affected file, with {{command|rm ~/.config/containers/libpod.conf}}. If you ''have'' modified the file in some other way, you can edit it and change the {{code|runtime}} setting from {{code|runc}} to {{code|crun}}.
 +
 +
[[Category:Common bugs]]

Revision as of 01:51, 17 September 2019

This page documents common bugs in Fedora 31 and, if available, fixes or workarounds for these problems. If you find your problem in this page, do not file a bug for it, unless otherwise instructed. Where appropriate, a reference to the current bug(s) in Bugzilla is included.

Note.png
Pre-release version
Fedora 31 has not yet been released. During this pre-release period, this page will cover known issues in the Fedora 31 pre-releases. Issues that are fixed will be removed from the page once a fix is available (for instance, an issue that affects the Beta but is fixed in the final release will be removed at the time of that release).

Release Notes

Read the F31_Beta_release_announcement for specific information about changes in Fedora 31 and other general information.


My bug is not listed

Not every bug is listed in this page, but Bugzilla should be a comprehensive database of known bugs. This page is a sampling of the bugs most commonly discussed on our mailing lists and forums.

To see if your bug has already been reported, you can search Bugzilla. If it has not yet been reported, we encourage you to do so to help improve Fedora for yourself and others. A guide to Bugs and feature requests has been prepared to assist you.

If you believe an already-reported bug report should be added to this page because it is commonly encountered, you can:

  • Add it yourself, if you have wiki access. Common bugs instructions provides guidance on how to add an entry to the page correctly, but the most important thing is to make sure that the bug is listed - don't worry if you don't get the format quite right, we can clean it up later.
  • Or, add the CommonBugs keyword to the bug report. Someone from the QA team will then inspect the issue to determine whether the bug should be listed as a common bug. To expedite your request, please add a comment to the bug that includes
    1. a summary of the problem
    2. any known workarounds
    3. an assessment on the impact to Fedora users

For reference, you can query Bugzilla for bugs tagged CommonBugs:

  • CommonBugs? (bugs with CommonBugs keyword, but do not yet have a link to this page)
  • CommonBugs+(bugs with CommonBugs keyword and contain a link to this page)

Upgrade issues

Podman fails to run containers on upgraded systems (due to use of runc runtime with cgroups v2)

link to this item - Bugzilla: #1752040

If you upgrade a Fedora system where you have already installed and used podman to Fedora 31, after the upgrade it is likely podman will fail to launch containers any more. This is because on first use of podman in earlier Fedora releases a configuration file is written to the user's home directory which specifies that the runc runtime should be used to launch containers, but at present, runc does not work with version 2 of the kernel cgroups feature, as included in Fedora 31.

To resolve this issue, if you have not modified it in any other way, you can simply remove the affected file, with rm ~/.config/containers/libpod.conf. If you have modified the file in some other way, you can edit it and change the runtime setting from runc to crun.