Created attachment 1636074 [details] buildah script Description of problem: buildah form scratch spits out a lot of errors similar to: error: lsetfilecon: (/usr/share/man/man8/rtacct.8.gz;5dcd1986, system_u:object_r:man_t:s0) Operation not supported setting virt_sandbox_use_fusefs on or off selinux boolean has no affect. Version-Release number of selected component (if applicable):buildah-1.11.4-2.fc31.x86_64 How reproducible: all the time Steps to Reproduce: 1.buildah unshare bash fedora-31-base.sh the buildah script is in the attachment; Actual results: the resulting image runs fine but the error messages are annoying and perhaps indication for missconfiguration Expected results: no error messages in the output Additional info: fresh install of f31
I am pretty sure the same script run w/o the err on f30
This looks like the issue is the dnf command is attempting to put down SELinux labels within the rootfs. And this must be on a file system that does not support labels?
BTW this line buildah commit $container fedora-29-base needs to be updated in your script.
The containers/storage.conf has overlay as driver. The underlying fs (my $HOME) is ext4 but it behaves the same on XFS on my other system. Both are mounted with default fedora flags. As for the script - indeed it needs update.
I managed to narrow it a bit down. the script from above works fine on vanilla f29 and f30 (both updated to the latest as of today). It breaks with f31 booted with both f30 and f31 kernels kernel-core-5.3.11-100.fc29.x86_64 and kernel-core-5.3.11-300.fc31.x86_64 respectively. Seem like problem is somewhere in userspace.
Bug 1777502 indicates that this is an rpm issue.
This message is a reminder that Fedora 31 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 31 on 2020-11-24. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '31'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 31 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 31 changed to end-of-life (EOL) status on 2020-11-24. Fedora 31 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.