Bug 1117450 - needs network-online.target instead of network.target
Summary: needs network-online.target instead of network.target
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ejabberd
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: network-online.target
TreeView+ depends on / blocked
 
Reported: 2014-07-08 17:47 UTC by David Benfell
Modified: 2014-09-01 11:28 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-09-01 11:28:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description David Benfell 2014-07-08 17:47:48 UTC
Description of problem: silently fails to open assigned interface


Version-Release number of selected component (if applicable): 2.1.13-7.fc20


How reproducible: 100%


Steps to Reproduce:
1. reboot system with ejabberd enabled
2.
3.

Actual results: systemctl sees ejabberd as having successfully started, but it is inaccessible to clients.


Expected results: clients are able to connect to ejabberd


Additional info: This appears to be of similar origin to bug #116538 (postfix). I am working around the problem with the following lines in ejabberd.service:

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

This problem also afflicts nsd, but nsd fails in a way that systemctl recognizes and reports. To my knowledge, ejabberd, nsd, and postfix are the only services affected on my server.

This is a server using static addresses. It does not use NetworkManager.

Comment 1 Peter Lemenkov 2014-09-01 11:28:46 UTC
This bug should be closed in Rawhide now and will be closed in Fedora 21.


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