"sudo: setrlimit(RLIMIT_CORE): Operation not permitted" error when using sudo in 20.04 LXD container
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
sudo (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I fired up a LXD container using ubuntu-daily:f on my machine and every time I issue a comment inside the container using sudo, I get this error:
sudo: setrlimit(
I did some digging online and found this was reported against Fedora last fall which lead me to this bugzilla report:
https:/
which seems to tie this to a change in sudo between 1.8.28 and 1.8.29.
Focal has 1.8.31:
bladernr@
sudo:
Installed: 1.8.31-1ubuntu1
Candidate: 1.8.31-1ubuntu1
Version table:
*** 1.8.31-1ubuntu1 500
500 http://
100 /var/lib/
This is not an issue on Bionic:
bladernr@
sudo:
Installed: 1.8.21p2-3ubuntu1.2
Candidate: 1.8.21p2-3ubuntu1.2
Version table:
*** 1.8.21p2-3ubuntu1.2 500
500 http://
500 http://
100 /var/lib/
1.
500 http://
From the redhat bug, the described workaround does clear these messages up:
# set disable_coredump false
Once I've done that, the error messages go away.
description: | updated |
affects: | lxd (Ubuntu) → sudo (Ubuntu) |
Status changed to 'Confirmed' because the bug affects multiple users.