Network services fail to start if Network Manager is uninstalled

Solution Verified - Updated -

Issue

Services that listen for network connections on chosen IP addresses rather than 0.0.0.0 may fail to bind during system boot.
A typical example would be sshd, but the problem applies to other daemons as well (i.e. httpd).

Example configuration from /etc/ssh/sshd_config:

Port 22
ListenAddress 10.20.30.10
ListenAddress 127.0.0.1

And the error message as seen during system boot in /var/log/secure:

Mar 31 10:18:03 mysystem sshd[431]: error: Bind to port 22 on 10.20.30.10 failed: Cannot assign requested address.

Environment

Red Hat Enterprise Linux 7.3
Version-Release number of selected component:
systemd-219-30.el7_3.6.x86_64

The following component is not installed in the system:
- NetworkManager

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content