Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

where is the capset kernel module?

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


jeff.chua.linux at gmail

Feb 6, 2008, 12:13 AM

Post #1 of 7 (2857 views)
Permalink
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo[at]vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


jeff.chua.linux at gmail

Feb 6, 2008, 2:43 AM

Post #2 of 7 (2818 views)
Permalink
Re: where is the capset kernel module? [In reply to]

On Feb 6, 2008 4:13 PM, Jeff Chua <jeff.chua.linux[at]gmail.com> wrote:
> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo[at]vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


jengelh at computergmbh

Feb 6, 2008, 3:40 AM

Post #3 of 7 (2820 views)
Permalink
Re: where is the capset kernel module? [In reply to]

On Feb 6 2008 18:43, Jeff Chua wrote:
>On Feb 6, 2008 4:13 PM, Jeff Chua <jeff.chua.linux[at]gmail.com> wrote:
>> 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=y
CONFIG_SECURITY_CAPABILITIES=m or y

working?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo[at]vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


jeff.chua.linux at gmail

Feb 6, 2008, 3:56 AM

Post #4 of 7 (2817 views)
Permalink
Re: where is the capset kernel module? [In reply to]

On Feb 6, 2008 7:40 PM, Jan Engelhardt <jengelh[at]computergmbh.de> wrote:

> >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=y
> CONFIG_SECURITY_CAPABILITIES=m or 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo[at]vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


serge at hallyn

Feb 6, 2008, 7:23 PM

Post #5 of 7 (2814 views)
Permalink
Re: where is the capset kernel module? [In reply to]

Quoting Jeff Chua (jeff.chua.linux[at]gmail.com):
> On Feb 6, 2008 7:40 PM, Jan Engelhardt <jengelh[at]computergmbh.de> wrote:
>
> > >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=y
> > CONFIG_SECURITY_CAPABILITIES=m or 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)

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo[at]vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


jeff.chua.linux at gmail

Feb 7, 2008, 2:14 AM

Post #6 of 7 (2809 views)
Permalink
Re: where is the capset kernel module? [In reply to]

On Feb 7, 2008 11:23 AM, <serge[at]hallyn.com> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo[at]vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


jengelh at computergmbh

Feb 7, 2008, 4:22 PM

Post #7 of 7 (2805 views)
Permalink
Re: where is the capset kernel module? [In reply to]

On Feb 6 2008 19:56, Jeff Chua wrote:
>> >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=y
>> CONFIG_SECURITY_CAPABILITIES=m or y
>
>Tried, 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.

> [*] Enable different security models
> [*] Socket and Networking Security Hooks (NEW)
> [*] Default Linux Capabilities (NEW)
> [*] File POSIX Capabilities (EXPERIMENTAL)
> [ ] Root Plug Support (NEW)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo[at]vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.