Skip to content

Deprecate containers that need the org.freedesktop.Flatpak D-Bus service #1684

Closed

Description

@debarshiray

Starting from Toolbx 0.0.97, released in November 2020, Toolbx containers no longer need the org.freedesktop.Flatpak.SessionHelper D-Bus interface provided by the org.freedesktop.Flatpak D-Bus service. This change was made to support rootful uses of Toolbx with sudo toolbox ....

It is going to be five years in a few months, since this change was made, and it's becoming harder and harder to practically test backwards compatibility with these containers. All the host operating systems where Toolbx is regularly tested offer newer versions:

  • Arch Linux and Fedora offer the latest upstream releases
  • RHEL 8.10 offers at least 0.0.99.4
  • Ubuntu offers at least 0.0.99.2

Among those OSes that we might start testing on in the near future, even Debian offers at least 0.0.99.3.

Therefore, this is a good time to mark these older containers as deprecated, as we have done in the past in similar cases. After a long enough deprecation window, we can finally stop supporting them.

Containers that use org.freedesktop.Flatpak.SessionHelper have a directory called /run/host/monitor that's a bind mount from the host operating system. The host counterpart of this directory is maintained by org.freedesktop.Flatpak. The D-Bus service needs to be started before starting these containers with podman start.

Commit 71b5c8c0a235249b changed how the containers are created without depending on org.freedesktop.Flatpak.SessionHelper and commit 82c32bea742621a3 stopped starting the D-Bus service for containers that don't need it.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions