Replies: 1 comment
-
Does #958 (comment) answer your question? There is no direct way how to set it in Mock. But we simply call chroot() call. So something like https://superuser.com/questions/381546/limits-conf-ulimits-not-being-applied-to-chrooted-processes would be the way. But I guess the first option I mentioned will be better. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In CentOS Stream CI we run Ansible which runs mock in a
simple
isolation mode to build an rpm package.The default limit for open files ( 1024) is not enough for some of the larger packages, thus we need to increase it.
It seems that changing ulimit on the mock process doesn't help, as mockbuild user doesn't inherit the limits from the process:
What is the recommended way to adjust the ulimit in such case?
Beta Was this translation helpful? Give feedback.
All reactions