FS#67781 - [util-linux] Reports libcap-ng being too old to drop all capabilities
Attached to Project:
Arch Linux
Opened by Nico Wellpott (mightyBroccoli) - Monday, 31 August 2020, 14:37 GMT
Last edited by Christian Hesse (eworm) - Wednesday, 02 September 2020, 09:10 GMT
Opened by Nico Wellpott (mightyBroccoli) - Monday, 31 August 2020, 14:37 GMT
Last edited by Christian Hesse (eworm) - Wednesday, 02 September 2020, 09:10 GMT
|
Details
Description:
The setpriv binary installed from util-linux utilizing libcap-ng reports it being to old to drop all capabilities. # setpriv --clear-groups --inh-caps=-all /bin/bash setpriv: libcap-ng is too old for "all" caps Additional info: * util-linux: 2.36-2 * libcap-ng: 0.7.11-1 Steps to reproduce: Have util-linux and libcap-ng installed and call it as seen above. |
This task depends upon
Closed by Christian Hesse (eworm)
Wednesday, 02 September 2020, 09:10 GMT
Reason for closing: Fixed
Additional comments about closing: libcap-ng 0.7.11-2
util-linux 2.36-3
Wednesday, 02 September 2020, 09:10 GMT
Reason for closing: Fixed
Additional comments about closing: libcap-ng 0.7.11-2
util-linux 2.36-3
# cat /proc/sys/kernel/cap_last_cap
# pacman -Qi linux|grep Version
# uname -a
36
# pacman -Qi linux|grep Version
5.8.5.arch1-1
# uname -a
Linux dashwood.domain.tld 5.8.5-arch1-1 #1 SMP PREEMPT Thu, 27 Aug 2020 18:53:02 +0000 x86_64 GNU/Linux
it checks /proc/sys/kernel/cap_last_cap against CAP_LAST_CAP from /usr/include/linux/capability.h
I guess it may just needs a rebuild