Skip to content

systemd: show link to podman page for quadlets #22014

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jelly
Copy link
Member

@jelly jelly commented May 17, 2025

On a service details page show a link to the podman if the service is a quadlet. Quadlets are detected by checking if the SourcePath contains "containers/systemd", normally it is /etc/containers/systemd or /usr/share/containers/systemd.

Related: cockpit-project/cockpit-podman#2055


Blocked on a podman implementation for filtering quadlets.

Currently podman supports filtering on name via a simple url ie. http://127.0.0.2:9091/podman#/?name=systemd this does not yet support quadlets. Which is needed as Cockpit does not know the real container or pod name as this can be configured in the .container or .pod file.

There are two options for podman to fix this: (the filtering is currently based on ContainerName/PodName or ImageName)

  • Allowing filtering on the service name so passing name=jellyfin.service and setting that in the as textFilter
  • Resolving the .service to the ContainerName/PodName, and then setting that as textFilter. Requires looping over all containers/pods at least once.

On a service details page show a link to the podman if the service is a
quadlet. Quadlets are detected by checking if the SourcePath contains
"containers/systemd", normally it is /etc/containers/systemd or
/usr/share/containers/systemd.

Related: cockpit-project/cockpit-podman#2055
@jelly jelly added the no-test For doc/workflow changes, or experiments which don't need a full CI run, label May 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-test For doc/workflow changes, or experiments which don't need a full CI run,
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant