Bug 1427 - ifup-routes failing "linuxconf --hint routing "$1" "
ifup-routes failing "linuxconf --hint routing "$1" "
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: linuxconf (Show other bugs)
5.2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Michael K. Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-03-05 09:01 EST by francesco.zuliani
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-03-24 12:13:04 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description francesco.zuliani 1999-03-05 09:01:22 EST
Failure to add static-routes.
In file /etc/sysconfig/network-scripts/ifup-routes
the command "linuxconf --hint routing $1"
fails to give correct results, so that static-routes
specified in /etc/sysconfig/static-routes are not
loaded.

Resolution: comment out part regarding linuxconf in
/etc/sysconfig/network-scripts/ifup-routes
Comment 1 Bill Nottingham 1999-03-19 17:27:59 EST
what incorrect results does linuxconf give?
Comment 2 Anonymous 1999-03-20 11:59:59 EST
the command "linuxconf --hint routing eth0" simply return nothings,
but then this prevents "/etc/sysconfig/static-routes" file to be read
and further static routes to be added.
Comment 3 Bill Nottingham 1999-03-22 18:48:59 EST
Are you running a 2.0 or a 2.2 kernel?
Comment 4 Anonymous 1999-03-23 05:24:59 EST
I'm running RedHat 5.2 + updates and kernel 2.0.36.
I also noticed that the command
"linuxconf --hint routing" does return the following :
IPV4ROUTING="false"
DEV_RECONF_ROUTES=""

BUT as soon as one puts any argument  (here eth0, but it seems
unrelevant):

linuxconf --hint routing eth0

then linuxconf  fails to give any output and so doing prevents adding
of static routes written in /etc/sysconfig/static-routes
Comment 5 Michael K. Johnson 1999-03-24 11:21:59 EST
Added Jacques to the CC line
Comment 6 Michael K. Johnson 1999-03-24 12:13:59 EST
I can't reproduce this with linuxconf 1.14, and we've received
conflicting reports that linuxconf IS giving output from
/etc/sysconfig/static-routes (output that used to work, but
failed with a newer set of network utilities) so I think that this
is specific to Francesco's configuration.  Linuxconf is probably
looking at the device configuration and is not able to find a
device to which the static route applies.  Unless the gateway is
directly reachable on one of the local networks, linuxconf will
not add a static route, for example.

So without further information, I have to consider this a
configuration problem on the remote machine.  I think I would
want to have an archive of /etc/sysconfig/static-routes and
/etc/sysconfig/network-scripts/ifcfg* in order to examine this
any further.

------- Email Received From  Jacques Gelinas <jack@solucorp.qc.ca> 03/24/99 13:15 -------

Note You need to log in before you can comment on or make changes to this bug.