Bug 1119815

Summary: bind needs network-online.target instead of network.target
Product: [Fedora] Fedora Reporter: Corinna Vinschen <vinschen>
Component: bindAssignee: Tomáš Hozza <thozza>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 20CC: psimerda, thozza, vonsch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-17 12:34:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1119787    

Description Corinna Vinschen 2014-07-15 15:07:42 UTC
Description of problem: named starts before network initialization is complete

Version-Release number of selected component (if applicable): 
bind-9.9.4-12.P2.fc20.x86_64

How reproducible: Configure named to listen on explicit static interface address.

Steps to Reproduce:
1. reboot system

Actual results: named generates an error indicating its interface does not exist.

Expected results: named starts

Additional info: This is a generic problem with all services binding to explicit interface addresses and depending on network.target only.  network.target does not make sure that all statically configured interfaces are up.  Onle network-online.target does that.  Therefore the solution for all configurable services not supporting IP_FREEBIND is to change the dependency
from network.target to a depedency on network-online.target:

  Requires=network-online.target
  After=network-online.target

Other network services are affected as well so this bug  report is only one in a row.

Comment 1 Tomáš Hozza 2014-07-17 12:34:57 UTC

*** This bug has been marked as a duplicate of bug 1117086 ***