Bug 1877228

Summary: podman unusable in Plasma under Wayland
Product: [Fedora] Fedora Reporter: Daniel Mach <dmach>
Component: kwinAssignee: Daniel Vrátil <me>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: dwalsh, gscrivan, jgrulich, kde-sig, me, rdieter, robinlee.sysu, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-21 07:00:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Mach 2020-09-09 06:52:56 UTC
Description of problem:
podman is unusable in Plasma under Wayland.
It crashes on a sd-bus error.

Version-Release number of selected component (if applicable):
podman-2.1.0-0.231.dev.gitf1323a9.fc34.x86_64
kwin-wayland-5.19.5-1.fc34.x86_64

How reproducible:
always

Steps to Reproduce:
1. Start Plasma/Wayland session
2. Create Containerfile:
FROM fedora:33
RUN dnf -y makecache
3. podman build .

Actual results:
$ podman build .
STEP 1: FROM fedora:33
STEP 2: RUN dnf -y makecache
2020-09-09T06:48:24.000256883Z: sd-bus call: Input/output error
error running container: error creating container for [/bin/sh -c dnf -y makecache]: : exit status 1
Error: error building at STEP "RUN dnf -y makecache": error while running runtime: exit status 1

Expected results:
`podman build .` passes

Additional info:
The commands work fine under Plasma/Xorg
Using following env variable workarounds the problem: DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus

Comment 1 Giuseppe Scrivano 2020-11-27 13:34:52 UTC
PR opened here: https://github.com/containers/podman/pull/8500

Comment 2 Ben Cotton 2021-02-09 15:18:14 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.

Comment 3 Robin Lee 2021-04-21 07:00:52 UTC
Should be fixed now, tested with
kwin-5.21.3-1.fc34.x86_64
podman-3.1.0-1.fc34.x86_64