I just upgraded to Linuxconf-1.13r8 (from r4) on a RedHat 5.1 system. On
every exit of Linuxconf it wanted to do a /dev/rc.d/rc3.d/S10network reload
and had errors every time. The error was a usage message from the route
program like a syntax error.

I tracked it down to the /etc/sysconfig/network-scripts/ifup-aliases script.
The line:

 linuxconf --hint ipalias $1 | while read verb arg1 arg2 ; do

Had to be changed to:

 linuxconf --hint ipalias $1 | while read verb arg1 arg2 arg3 arg4; do

It seems that arg2 was containing the next couple of fields from the output
of the linuxconf --hint command  and was causing a syntax error in the route
command "/sbin/route add $arg2 $arg1" that followed.

I dont know if this is a bug in the shell or the ifup-aliases script. But
the small change fixed the error.

Jeff Myers
Web Point Communications
http://wpc.net
[EMAIL PROTECTED]


---
You are currently subscribed to linuxconf as: [[email protected]]
To unsubscribe, forward this message to [EMAIL PROTECTED]

Reply via email to