where is the capset kernel module?
Latest linux git complained about this ...
named: capset failed: Operation not permitted: please ensure that the capset kernel module is loaded. see insmod(8)
Where is the capset kernel module?
Thanks,
Jeff.
Quoted 4 lines · Jeff Chua
Latest linux git complained about this ...
named: capset failed: Operation not permitted: please ensure that the capset kernel module is loaded. see insmod(8)
How this started was that with the latest git linux, I got this warning ...
warning: `named' uses 32-bit capabilities (legacy support in use)
So, I recompile named and ended up with the "capset failed" problem. I tried compiling linux with LSM, but that didn't help.
Adding "--disable-linux-caps" to named compile solved the problem.
Thanks,
Jeff.
Quoted 9 lines · Jeff Chua
Quoted 4 lines · Jeff Chua
Latest linux git complained about this ...
named: capset failed: Operation not permitted: please ensure that the capset kernel module is loaded. see insmod(8)
How this started was that with the latest git linux, I got this warning ...
warning: `named' uses 32-bit capabilities (legacy support in use)
Yes it is a really interesting case I have seen before, but did not bother to investigate.
Is
CONFIG_SECURITY=yCONFIG_SECURITY_CAPABILITIES=m or y
working?
Quoted 5 lines · Jan Engelhardt
Quoted 1 line
warning: `named' uses 32-bit capabilities (legacy support in use)
Yes it is a really interesting case I have seen before, but did not bother to investigate.
CONFIG_SECURITY=yCONFIG_SECURITY_CAPABILITIES=mor y
Tried, but didn't help.
Menuconfig can't select these as modules. So may be that's they need to be make modular.
[*] Enable different security models
[*] Socket and Networking Security Hooks (NEW)
[*] Default Linux Capabilities (NEW)
[*] File POSIX Capabilities (EXPERIMENTAL)
[ ] Root Plug Support (NEW)
Thanks,
Jeff.
Quoted 10 lines · Jeff Chua
Quoted 5 lines · Jan Engelhardt
Quoted 1 line
warning: `named' uses 32-bit capabilities (legacy support in use)
Yes it is a really interesting case I have seen before, but did not bother to investigate.
CONFIG_SECURITY=yCONFIG_SECURITY_CAPABILITIES=mor yTried, but didn't help.
Quoted 8 lines
Menuconfig can't select these as modules. So may be that's they need to be make modular.
[*] Enable different security models
[*] Socket and Networking Security Hooks (NEW)
[*] Default Linux Capabilities (NEW)
[*] File POSIX Capabilities (EXPERIMENTAL)
[ ] Root Plug Support (NEW)
Odd, I thought the help text was originally far more helpful, including a url. The message isn't telling you you need a kernel module, but that you are using an old libcap. It isn't a real problem right now if you're not using the SMACK LSM, but to get rid of the message upgrade your libcap from
http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/libcap-2.05.tar.gz
thanks,
-serge
Quoted 6 lines · On Feb 7, 2008 11:23 AM, <[email protected]> wrote:
Odd, I thought the help text was originally far more helpful, including a url. The message isn't telling you you need a kernel module, but that you are using an old libcap. It isn't a real problem right now if you're not using the SMACK LSM, but to get rid of the message upgrade your libcap from
http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/libcap-2.05.tar.gz
That's very useful. I'll try it this weekend.
Thanks for your help!
Jeff.
Quoted 10 lines · Jeff Chua
Quoted 5 lines
Quoted 1 line
warning: `named' uses 32-bit capabilities (legacy support in use)
Yes it is a really interesting case I have seen before, but did not bother to investigate.
CONFIG_SECURITY=yCONFIG_SECURITY_CAPABILITIES=mor yTried, but didn't help.
Menuconfig can't select these as modules. So may be that's they need to be make modular.
O the joy of the make-it-nonmodular patch in 2.6.24.
Quoted 5 lines
[*] Enable different security models
[*] Socket and Networking Security Hooks (NEW)
[*] Default Linux Capabilities (NEW)
[*] File POSIX Capabilities (EXPERIMENTAL)
[ ] Root Plug Support (NEW)