after emerge-ing firehol, when running "firehol helpme" for automatic detection of network configuration, I get the error /usr/sbin/firehol: line 1: /usr/sbin/ip: No such file or directory The program does produce a configuration file, but it is useless. Simple workaround: make a symbolic link from /usr/sbin/ip to /sbin/ip. Better solution: make firehol know the correct path to the ip command. Reproducible: Always Steps to Reproduce: 1. emerge firehol 2. run "firehol helpme" Actual Results: error message: /usr/sbin/firehol: line 1: /usr/sbin/ip: No such file or directory no network interfaces are detected Expected Results: run /usr/ip and detect network interfaces. emerge info output: Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r7) ================================================================= System uname: 2.4.22-gentoo-r7 i686 AMD-K7(tm) Processor Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fomit-frame-pointer -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://194.83.57.15/sites/www.ibiblio.org/gentoo/ http://212.219.56.162/sites/www.ibiblio.org/gentoo/ http://212.219.56.131/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bonobo crypt cups emacs encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls nocd oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
Which Version of firehol are you using? What does "emerge -p firehol" report?
I think that this bug is fixed with the latest Version 1.159. Please try to emerge this version with ACCEPT_KEYWORDS="~x86" emerge firehol and test if this fixes the problem.
The latest firehol version in portage contains the line -e 's|/sbin/ip|/usr/sbin/ip|' \ which is wrong. Gentoo installs ip under /sbin/ip, thus firehol makes the right assumption and the fix is obsolete.
Should be fixed with the new Version 1.191, which is available in Portage.