Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51577 - Bind ebuild does not take into account 'caps' USE flag
Summary: Bind ebuild does not take into account 'caps' USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stewart (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 19324
Blocks:
  Show dependency tree
 
Reported: 2004-05-20 10:37 UTC by Mathieu FRANCOIS
Modified: 2005-03-25 14:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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