Yes it is 256:

island:backend [master]> cat  /proc/sys/fs/mqueue/msg_max
256

On 20.05.2021 21:00, Daniel Walsh wrote:
On 5/20/21 08:29, Michael Ivanov wrote:
Hallo!

I'm trying to run my application in podman rootless container and I stumble
on following problem: my program needs /proc/sys/fs/mqueue/msg_max to be at
least 256, but in running container this value is just 10. When I try to
specify this parameter while running the image (--sysctl 'fs.mqueue.msg_max=256')
I get the following error:

   Error: open /proc/sys/fs/mqueue/msg_max: Permission denied: OCI permission denied

and container is not created.

My host where container is being run has this parameter set to 256. How can I
expose current host setting for msg_max to my container?

Best regards,

When you login to your user account is is et to 256?


$ cat  /proc/sys/fs/mqueue/msg_max
10
_______________________________________________
Podman mailing list -- podman@lists.podman.io
To unsubscribe send an email to podman-leave@lists.podman.io


-- 
 \   / |			           |
 (OvO) |  Михаил Иванов                    |
 (^^^) |                                   |
  \^/  |      E-mail:  ivans@isle.spb.ru   |
  ^ ^  |                                   |