Focal: sudo: setrlimit(RLIMIT_CORE): Operation not permitted

Bug #1867799 reported by Canonical Juju QA Bot
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Invalid
Undecided
Unassigned
sudo (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When bootstrapping to focal and using debug output, we get the following outputted to the stderr.

sudo: setrlimit(RLIMIT_CORE): Operation not permitted

I'm unsure what it's attempting to do at that point, but others have also run into this with a suggested workaround.

https://gitlab.alpinelinux.org/alpine/aports/issues/11122
https://bugzilla.redhat.com/show_bug.cgi?id=1773148

Changed in juju:
milestone: none → 2.8-beta1
Revision history for this message
Ian Booth (wallyworld) wrote :

Marking as invalid for Juju since it's expected this is an issue to be fixed in the focal image.

Changed in juju:
status: Triaged → Invalid
Revision history for this message
Jeff Lane  (bladernr) wrote :

Just spun up a Focal LXD container and this is still an issue in containers:

bladernr@focal-builder:~/development/kernels-ubuntu/focal$ sudo vim /etc/apt/sources.list
sudo: setrlimit(RLIMIT_CORE): Operation not permitted

Changed in sudo (Ubuntu):
status: New → Confirmed
Revision history for this message
Niels Kristensen (nielsek) wrote :

It has been resolved in 1.8.31p1.

https://github.com/sudo-project/sudo/issues/42#issuecomment-599142606

That version hasn't made it into the focal repository yet though.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.