Skip to content
Discussion options

You must be logged in to vote

Answering to my own question.

Podman create an config.json to be used by crun (or other) in the container image tree (.../userdata/).
In this file, in the mount section, a mounting point is added for /dev/mqueue.

    {
      "destination": "/dev/mqueue",
      "type": "mqueue",
      "source": "mqueue",
      "options": [
        "nosuid",
        "noexec",
        "nodev"
      ]
    },

This is done by default, even if --ipc=none is specified.

To bypass this problem use this simple podman option :

--mount type=bind,source=/dev/null,target=/dev/mqueue

I think that this mounting point should not be added to config.json when you use --ipc=none option.

BR.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bobmorane83
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant