Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-126029

shm size is not the same as containers.conf set in ppc64le host

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-10.1
    • buildah
    • None
    • Moderate
    • rhel-container-tools
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • ppc64le
    • None

      What were you trying to do that didn't work?

      Set up the shm_size in containers.conf to a certain value and check the value inside a container. The shm value in container is not the same as the value we set. But it was added to 64k based on the value we set in configure files. For exampels:
      shm_size value from /dev/shm inside the container
      192k 192k
      192k-255k 256k
      256k 256k

      What is the impact of this issue to you?

      The shm size inside container can only enlarged with 64k values but the value can not be the same as we set in containers.conf

      Please provide the package NVR for which the bug is seen:

      buildah-1.41.4-2.el10_1.ppc64le

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. Run system test “containers.conf /dev/shm test” The test will failed with error message as the shm_size in test is using 200k but we get 256k inside the container

      Expected results

      /dev/shm should be the same value of shm_size in containers.conf

      Actual results

      The value are different.

              arajan@redhat.com Aditya Rajan
              ypu@redhat.com Yiqiao Pu
              Container Runtime Eng Bot Container Runtime Eng Bot
              Container Runtime Bugs Bot Container Runtime Bugs Bot
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: