Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 51577

Summary: Bind ebuild does not take into account 'caps' USE flag
Product: Gentoo Linux Reporter: Mathieu FRANCOIS <mat>
Component: New packagesAssignee: Stewart (RETIRED) <blkdeath>
Status: RESOLVED FIXED    
Severity: normal CC: voxus
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 19324    
Bug Blocks:    

Description Mathieu FRANCOIS 2004-05-20 10:37:17 UTC
Some of the problems detailed in bug 19324 were due to ignoring the 'caps' USE flag in the ebuild.

The linux capabilities are compiled by default with Bind : if your running kernel does not support them, or if they are not properly configured, you cannot start the named daemon

Example of error message : "named: capset failed: Operation not permitted"

Here is the line to add in the src_compile() function of the bind ebuild:

# use caps || myconf="${myconf} --disable-linux-caps




Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jeffrey Forman (RETIRED) gentoo-dev 2004-07-03 05:36:29 UTC
What ebuild does this refer to? Let me know and I can try and take care of it.
Comment 2 Mathieu FRANCOIS 2004-07-03 08:24:30 UTC
In net-dns/bind-9.2.3.ebuild :

- Modify the following :

IUSE ="ssl ipv6 doc caps"

- And add in the src_compile() function :

use caps || myconf="${myconf} --disable-linux-caps"
Comment 3 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-03-25 14:29:30 UTC
fixed with 9.2.5
thanks, Mathieu