Uploaded image for project: 'Container Tools'
  1. Container Tools
  2. RUN-3435

[containers/conmon] [podman] death of one container restarts both

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • conmon
    • 2
    • False
    • Hide

      None

      Show
      None
    • False

      [921489242] Upstream Reporter: tobwen
      Upstream issue status: Closed
      Upstream description:

      What's the issue?

      When killing a process in a container in a pod (with more than one container), all the containers get restarted.

      How to reproduce?

      podman pod create --name systemd-pod
      podman create --pod systemd-pod alpine top
      podman create --pod systemd-pod alpine top
      podman generate systemd --files --name systemd-pod --new
      cp *.service $HOME/.config/systemd/user
      systemctl --user daemon-reload
      systemctl --user start pod-systemd-pod.service
      pkill -U tobwen --newest 'top'
      

      What's expected?

      Only the dead container should be restarted.

      Note

      This only happens, if the pod is started by systemd. When it's directly started podman pod start ..., it's working as expected.

      What's the environment?

      podman version 3.3.0-dev conmon version 2.0.30-dev


      Upstream URL: https://github.com/containers/conmon/issues/278

              rhn-support-jnovy Jindrich Novy
              upstream-sync Upstream Sync
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: