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

Bug 81600

Summary: firehol doesn't work if iproute2 was built with minimal USE flag
Product: Gentoo Linux Reporter: Alexandru Toma <flash3001>
Component: Current packagesAssignee: Dominik Stadler (RETIRED) <centic>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexandru Toma 2005-02-11 04:05:20 UTC
If iproute2 is built with minimal in the USE flags then /sbin/ip is not available. Firehol needs this to run.

Since built_with_use() is now available in the eutils eclass, I think the firehol ebuild should check if iproute2 was built with USE=minimal and output an error in that case.

It took me a while before I realised what happened when I upgraded firehol.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Dominik Stadler (RETIRED) gentoo-dev 2005-02-12 12:40:53 UTC
I have created Version 1.226-r1 that contains a fix for this. Should be available on the mirrors soon.
Comment 2 Alexandru Toma 2005-02-12 16:31:40 UTC
From firehol-1.226-r1.ebuild:
"# Bug 81600 fail if iproute2 is built without minimal"

Shouldn't that be "# Bug 81600 fail if iproute2 is built _with_ minimal"?
Comment 3 Dominik Stadler (RETIRED) gentoo-dev 2005-02-13 03:43:37 UTC
Yep, sorry, the comment was wrong. Fixed now.
Comment 4 Costa Tsaousis 2005-02-17 15:50:36 UTC
Hi,

In v1.229 I have made FireHOL use a "Command on Demand" feature, which allows only certain features to fail if a command is not found. The following commands are now required only for 'helpme' or 'wizard' mode:

 ip
 netstat
 egrep
 date
 hostname

Therefore it is not any more required to have iproute2 installed in order to use FireHOL. They are required only for 'helpme' or 'wizard' mode.

Costa