View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000122 | AlmaLinux-8 | libcap-ng | public | 2021-09-01 07:44 | 2021-10-22 09:24 |
Reporter | steen.schutt | Assigned To | alukoshko | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | platform:el8 | OS | AlmaLinux | OS Version | 8.4 |
Summary | 0000122: setpriv: libcap-ng is too old for "all" caps | ||||
Description | When using setpriv to drop privileges, it will fail and complain with the error message "setpriv: libcap-ng is too old for "all" caps". This issue does not appear on our CentOS 8.4 VM's, but appears after running the AlmaLinux conversion script. Both the CentOS 8 and AlmaLinux 8 systems are fully up to date as of 2021-09-01 07:43:00 UTC. | ||||
Steps To Reproduce | setpriv --reuid="1000" --regid="1000" --clear-groups --inh-caps=-all -- bash | ||||
Additional Information | I found others having similar issues on Arch Linux in the past, see this ticket: https://bugs.archlinux.org/task/67781 Here is some of the information the Arch team requested, in case it's helpful: # uname -a Linux testbox 4.18.0-305.12.1.el8_4.x86_64 #1 SMP Tue Aug 10 15:40:55 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux # cat /proc/sys/kernel/cap_last_cap 39 # grep -B2 'CAP_LAST_CAP' /usr/include/linux/capability.h #define CAP_BPF 39 #define CAP_LAST_CAP CAP_BPF | ||||
Tags | AlmaLinux, Bug | ||||
abrt_hash | |||||
URL | |||||
|
I should add that I'm running setpriv as root. Package versions are as follows: libcap-ng-0:0.7.9-5.el8.x86_64 util-linux-0:2.32.1-27.el8.x86_64 |
|
Issue is resolved after updating from util-linux-2.32.1-27.el8.x86_64 to util-linux-2.32.1-27.el8.alma.x86_64. |
|
Thanks for update. Closing. |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-09-01 07:44 | steen.schutt | New Issue | |
2021-09-01 07:44 | steen.schutt | Tag Attached: AlmaLinux | |
2021-09-01 07:44 | steen.schutt | Tag Attached: Bug | |
2021-09-01 08:03 | steen.schutt | Note Added: 0000327 | |
2021-09-24 07:30 | steen.schutt | Note Added: 0000337 | |
2021-10-22 09:24 | alukoshko | Assigned To | => alukoshko |
2021-10-22 09:24 | alukoshko | Status | new => closed |
2021-10-22 09:24 | alukoshko | Resolution | open => fixed |
2021-10-22 09:24 | alukoshko | Note Added: 0000359 |