Bug 1823078 - buildah: cannot run as root anymore after updating to Fedora 32 Silverblue
Summary: buildah: cannot run as root anymore after updating to Fedora 32 Silverblue
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: buildah
Version: 32
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Lokesh Mandvekar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-11 13:12 UTC by Frank Ansari
Modified: 2020-04-28 16:30 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-04-13 11:00:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Frank Ansari 2020-04-11 13:12:55 UTC
Description of problem:
When I run any buildah command as root (e.g. "buildah info") I get this error message:

Error loading container config network config: invalid cni_plugin_dirs entry: mkdir /usr/lib/cni: read-only file system

I do not have this issue running buildah as normal user.

Version-Release number of selected component (if applicable):
buildah-1.14.0-0.31.dev.git82ff48a.fc32.x86_64

How reproducible:
Run "buidah info" as root on a Fedora 32 Silverblue system.

Steps to Reproduce:
1.
2.
3.

Actual results:
buildah does not work.

Expected results:
buildah should work.

Additional info:
I also tried to use this config file:
https://github.com/containers/libpod/blob/master/libpod.conf

and tried to set it like this:

cni_plugin_dir = [
               "/usr/local/lib/cni"
]

Nevertheless I get the same error.

Comment 1 Frank Ansari 2020-04-12 10:14:36 UTC
https://github.com/containers/buildah/issues/2298

Comment 2 Daniel Walsh 2020-04-13 11:00:11 UTC
buildah-1.14.8-1.fc31 is the latest buildah in F31 in updates testing. I would say that the version you are using is rather old and you need to
update your Silverblue system.

Comment 3 Frank Ansari 2020-04-15 17:42:59 UTC
When I run "rpm-ostree upgrade" buildah does not change. I still have the save version.

Also I cannot uninstall it since it is no "overlay" but part the Silverblue system.

Comment 4 Frank Ansari 2020-04-15 17:43:48 UTC
same version I mean

Comment 5 Frank Ansari 2020-04-15 17:50:06 UTC
I have also a Fedora 32 system which is the "server" flavor (not Silverblue) and it has the same buildah version.

Comment 6 Frank Ansari 2020-04-28 16:30:48 UTC
This is fixed now with buildah-1.14.8-1.fc32.x86_64. With the update today I got this version.


Note You need to log in before you can comment on or make changes to this bug.