[Test Case] $ lxc launch ubuntu:20.04/amd64 sudo-sru-lp1857036-test $ lxc shell sudo-sru-lp1857036-test
Reproduce the problem root@sudo-sru-lp1857036-test:~# sudo true sudo: setrlimit(RLIMIT_CORE): Operation not permitted Enable -proposed and update root@sudo-sru-lp1857036-test:~# apt install -V sudo Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: sudo (1.8.31-1ubuntu1 => 1.8.31-1ubuntu1.1) 1 upgraded, 0 newly installed, 0 to remove and 17 not upgraded. Need to get 513 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 sudo amd64 1.8.31-1ubuntu1.1 [513 kB] Fetched 513 kB in 1s (576 kB/s) (Reading database ... 14621 files and directories currently installed.) Preparing to unpack .../sudo_1.8.31-1ubuntu1.1_amd64.deb ... Unpacking sudo (1.8.31-1ubuntu1.1) over (1.8.31-1ubuntu1) ... Setting up sudo (1.8.31-1ubuntu1.1) ... Check if the fix works root@sudo-sru-lp1857036-test:~# sudo true root@sudo-sru-lp1857036-test:~# ** Tags removed: verification-needed verification-needed-focal ** Tags added: verification-done verification-done-focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1857036 Title: `sudo --login --user USERNAME` throws `setrlimit(RLIMIT_CORE): Operation not permitted` error when run inside a container. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1857036/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
