[arch-general] sudo: setrlimit(RLIMIT_CORE): Operation not permitted
Hello list, I have a script for bootstrapping Arch and I test it on the archlinux/base docker container everytime before I make a release in order to make sure everything runs fine. Yesterday, I have run the script on the container, and it started throwing an error everytime my script called "sudo". It doesn't break the functionality of sudo, so it runs the called function with root priviliges. The error is, "sudo: setrlimit(RLIMIT_CORE): Operation not permitted" The problem is not related to the script as it gives the same error on the container when I run sudo myself. I searched the wiki, the forum, and the internet but couldn't find a conclusive answer. My laptop is running the latest version of Arch and I have no issues with sudo. I have similarly updated the container to the latest version before running the script.
It seems like your container is set up with too low of a RLIMIT_CORE rlimit for core files, causing the error when sudo attempts to increase it. Maybe you messed up a config file for Docker? See this for more info: https://pubs.opengroup.org/onlinepubs/9699919799/functions/getrlimit.html Regards, Neven
participants (2)
-
Cem Keylan
-
Neven Sajko