본문 바로가기

Others/Ubuntu

sudo: setrlimit(RLIMIT_CORE): Operation not permitted

sudo -i
sudo: setrlimit(RLIMIT_CORE): Operation not permitted

[해결]

a fix has been applied to sudo 1.8.31p1 and is already in 1.9 however this warning has a work around ... just issue

echo "Set disable_coredump false" >> /etc/sudo.conf

for details see https://github.com/sudo-project/sudo/issues/42

 

in container: sudo: setrlimit(RLIMIT_CORE): Operation not permitted · Issue #42 · sudo-project/sudo

Apparently since version 1.8.29, sudo started outputting this warning in Linux rootless containers: $ sudo hello > /dev/null sudo: setrlimit(RLIMIT_CORE): Operation not permitted which is quite ...

github.com

[출처]

https://unix.stackexchange.com/questions/578949/sudo-setrlimitrlimit-core-operation-not-permitted

 

sudo: setrlimit(RLIMIT_CORE): Operation not permitted

seeing this when executing sudo from inside a docker container (ubuntu 18.04) when parent host is ubuntu 20.04 sudo -i sudo: setrlimit(RLIMIT_CORE): Operation not permitted root@devops:~#

unix.stackexchange.com