Bug 5760

Summary: /etc/sysconfig/network-scripts/ifup-alias prints horrible messages if you compile a kernel without ip aliasing support
Product: [Retired] Red Hat Linux Reporter: Hunter, Sean <sean>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 6.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-10-10 04:28:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Hunter, Sean 1999-10-09 07:59:13 UTC
As above.  This patch fixes it:

--- /tmp/ifup-aliases	Sat Oct  9 08:52:10 1999
+++ ifup-aliases	Sat Aug 28 18:15:38 1999
@@ -1,5 +1,9 @@
 #!/bin/sh

+if [ ! -f /proc/sys/net/core/net_alias_max ]; then
+    exit 0
+fi

 # adds aliases of device $1

 if [ "$1" = "" ]; then

Comment 1 Bill Nottingham 1999-10-10 04:28:59 UTC
The messages are because linuxconf's alias detection is
fairly broken; it's worked around by commenting out the linuxconf
specific portions. This is what's done in 6.1.

However, the workaround you suggest is probably a good idea - we'll look at that for a future initscripts release.