My Oracle Support Banner

Oracle Linux 7: After Patching, ifup(8) Returns "./network-functions: line 119: .: /etc/sysconfig/network-scripts/: is a directory" Error When Bringing Up a Bond Interface. (Doc ID 2685282.1)

Last updated on JUNE 30, 2020

Applies to:

Linux OS - Version Oracle Linux 7.8 with Unbreakable Enterprise Kernel [4.14.35] to Oracle Linux 7.8 [Release OL7U8]
Oracle Cloud Infrastructure - Version N/A to N/A [Release 1.0]
Information in this document applies to any platform.

Symptoms

On Oracle Linux 7, after patching initscripts to version initscripts-9.49.47-1.0.1.el7 or later, ifup(8) now returns errors when bringing up a bond interface.

For example, on a normal terminal, "ifup bond0" produces:

# ifup bond0
./network-functions: line 119: .: /etc/sysconfig/network-scripts/: is a directory
#

For example, on the serial console, "ifup bond0" produces:

# ifup bond0
[<time_since_boot>] bonding: no command found in bonding_masters - use +ifname or -ifname
./network-functions: line 119: .: /etc/sysconfig/network-scripts/: is a directory
#

On bootup, /var/log/messages can show something like:

<timestamp> <host> kernel: Linux version 4.14.35-1818.3.3.el7uek.x86_64 (mockbuild@ca-build86.us.oracle.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-16.0.3) (GCC)) #2 SMP Mon Sep 24 14:45:01 PDT 2018
<timestamp> <host> kernel: bonding: bond0 is being created...
<timestamp> <host> kernel: bonding: bond0 already exists
<timestamp> <host> kernel: bonding: no command found in bonding_masters - use +ifname or -ifname
<timestamp> <host> network: Bringing up interface bond0:  ./network-functions: line 119: .: /etc/sysconfig/network-scripts/: is a directory
<timestamp> <host> kernel: bond0: Enslaving enp0s8 as a backup interface with a down link
<timestamp> <host> kernel: bond0: Enslaving enp0s9 as a backup interface with a down link
<timestamp> <host> kernel: IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready
<timestamp> <host> kernel: bond0: link status definitely up for interface enp0s8, 1000 Mbps full duplex
<timestamp> <host> kernel: bond0: making interface enp0s8 the new active one
<timestamp> <host> kernel: bond0: first active interface up!
<timestamp> <host> kernel: bond0: link status definitely up for interface enp0s9, 1000 Mbps full duplex
<timestamp> <host> kernel: bond0: making interface enp0s9 the new active one
<timestamp> <host> kernel: IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready

The bond interface is still brought up and continues to function, so there is actually minimal impact besides the errors.

Changes

Patched initscripts to version initscripts-9.49.47-1.0.1.el7 or later.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.