Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1316687 - named's dispatcher for systemd blocks to get NetworkManager to state CONNECTED (boot delay)
Summary: named's dispatcher for systemd blocks to get NetworkManager to state CONNECTE...
Keywords:
Status: CLOSED DUPLICATE of bug 1277257
Alias: None
Product: Fedora
Classification: Fedora
Component: bind
Version: 23
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Tomáš Hozza
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-10 19:24 UTC by Antonin
Modified: 2016-05-12 10:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-12 10:39:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Antonin 2016-03-10 19:24:38 UTC
Description of problem:
During boot process when network interfaces are set up (by NetworkManager) there are started installed dispatchers. For BIND daemon there is a file "/etc/NetworkManager/dispatcher.d/13-named". It contains this command:

/usr/bin/systemctl reload named.service > /dev/null 2>&1 || true

It calls "named.service". But systemd starts "named.service" when "network-online.target" is met. At this time the network is not accessible. So there is 30sec delay and then "NetworkManager-wait-online.service" fail. After that boot process continues.

Version-Release number of selected component (if applicable):
bind-9.10.3-10.P3.fc23.x86_64

How reproducible:
Package "bind" installed.
NetworkManager.service and NetworkManager-dispatcher.service enabled.

Steps to Reproduce:
1. Boot pc
2. Enter command "systemctl" or "journalctl -b"
3. search for NetworkManager-wait-online.service fail

Actual results:
Boot process delay 30 seconds and there is present "NetworkManager-wait-online.service" fail.

Expected results:
Faster boot.

Additional info:
In my environment it helps to use "--no-block" option in dispatcher file. Like this:
/usr/bin/systemctl --no-block reload named.service > /dev/null 2>&1 || true

Comment 1 Tomáš Hozza 2016-05-12 10:39:06 UTC

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


Note You need to log in before you can comment on or make changes to this bug.