Systemd is starting service or rc.local runs before NetworkManager has all interfaces available

Solution Verified - Updated -


  • systemd is starting ypbind.service before NetworkManager has all interfaces available
  • I have a command in rc.local which relies on network connectivity, but it runs before network is available. If I add a sleep 10; to the start of the command it works fine, as the network has come up after 10 seconds.
  • NFS shares do not mount during reboot or boot


  • Red Hat Enterprise Linux (RHEL) 7
  • Network is controlled by NetworkManager
  • systemd service or rc.local command or SysV initscript which relies on network online connectivity

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