Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46487 - firehol doesn't know correct path to /sbin/ip
Summary: firehol doesn't know correct path to /sbin/ip
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Dominik Stadler (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-01 08:40 UTC by R. Ekker
Modified: 2004-05-18 11:44 UTC (History)
3 users (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 R. Ekker 2004-04-01 08:40:54 UTC
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"
Comment 1 Dominik Stadler (RETIRED) gentoo-dev 2004-04-24 02:16:17 UTC
Which Version of firehol are you using? What does "emerge -p firehol" report?
Comment 2 Dominik Stadler (RETIRED) gentoo-dev 2004-04-29 13:27:06 UTC
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.
Comment 3 Andreas Simon 2004-05-03 02:52:13 UTC
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.
Comment 4 Dominik Stadler (RETIRED) gentoo-dev 2004-05-18 11:44:58 UTC
Should be fixed with the new Version 1.191, which is available in Portage.