Control: tag -1 upstream

Hello Hannah,

On Sun, Aug 29, 2021 at 8:03 AM Hannah Rittich <[email protected]> wrote:

> Package: golang-github-containers-common
> Version: 0.33.4+ds1-1
> Severity: normal
>
> When the environment variable `DBUS_SESSION_BUS_ADDRESS` contains the GUID,
> the detection of the systemd user session fails. This happens, e.g., when
> starting konsole using krunner on KDE. In this case podman will print a
> long
> error message and refuses to use systemd for cgroup management.
>
> To reproduce:
>
>   1. Start KDE.
>   2. Right click the desktop and start KRunner.
>   3. Enter "konsole" and hit enter.
>   4. The environment variable `DBUS_SESSION_BUS_ADDRESS` should look as
>      follows.
>
>          unix:path=/run/user/.../bus,guid=...
>
>   5. In the window of konsole enter `podman image ls`. A warning message
> is shown.
>
> Looking at the code, I would assume that the error is in the file
> `pkg/config/config.go` starting at line 539. Comparing with the upstream
> code
> [1] suggests that the error has been fixed in upstream. Replacing the code
> block starting at line 539 with the code block at [1] should solve the
> issue.
> A patch file is attached. I did, however, not test the patch.
>
> [1]:
> https://github.com/containers/common/blob/74022015478a9621623656b7998c87f198295df9/pkg/config/config.go#L641
>
>
That sounds like something that needs to be addressed upstream, who is
usually very responsive and receptive to these kinds of reports. Can you
please file a bug at https://github.com/containers/common/issues/new and
update this ticket with the issue number you got?

Thank you!

Reply via email to