systemd starting service or rc.local before NetworkManager has all interfaces available

Solution Verified - Updated -

Issue

  • 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

Environment

  • Red Hat Enterprise Linux (RHEL) 7
  • 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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.