Bug 1427

Summary: ifup-routes failing "linuxconf --hint routing "$1" "
Product: [Retired] Red Hat Linux Reporter: francesco.zuliani
Component: linuxconfAssignee: Michael K. Johnson <johnsonm>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2CC: jack
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-03-24 17:13:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description francesco.zuliani 1999-03-05 14:01:22 UTC
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

Resolution: comment out part regarding linuxconf in

Comment 1 Bill Nottingham 1999-03-19 22:27:59 UTC
what incorrect results does linuxconf give?

Comment 2 Anonymous 1999-03-20 16:59:59 UTC
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 23:48:59 UTC
Are you running a 2.0 or a 2.2 kernel?

Comment 4 Anonymous 1999-03-23 10:24:59 UTC
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 :

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

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 16:21:59 UTC
Added Jacques to the CC line

Comment 6 Michael K. Johnson 1999-03-24 17:13:59 UTC
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.ca> 03/24/99 13:15 -------