Red Hat Bugzilla – Bug 5760
/etc/sysconfig/network-scripts/ifup-alias prints horrible messages if you compile a kernel without ip aliasing support
Last modified: 2014-03-16 22:10:18 EDT
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 @@
+if [ ! -f /proc/sys/net/core/net_alias_max ]; then
+ exit 0
# adds aliases of device $1
if [ "$1" = "" ]; then
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.