Bug 1506805

Summary: (network-online.target) Use network-online.target instead of network.target
Product: [Fedora] Fedora Reporter: Philip Prindeville <philipp>
Component: proftpdAssignee: Paul Howarth <paul>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 26CC: itamar, matthias, paul, philipp
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: proftpd-1.3.6-8.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-07 22:17:56 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 Philip Prindeville 2017-10-26 19:43:36 UTC
Description of problem:

If your network is slow coming up (say you're using DHCP and the server is unavailable or rebooting after a power outage, etc) then this service might come up before the network is sufficiently configured.

Recommend adding

[Unit]
Wants=network-online.target
After=network-online.target

to .service file.

Version-Release number of selected component (if applicable):

proftpd-1.3.6-1.fc26.x86_64

How reproducible:

Bring up host while DHCP server is down.

Steps to Reproduce:
1. Provision host to use DHCP
2. Shutdown DHCP server
3. Reboot host under test

Actual results:

Service requires host's IP address and hostname to properly operate

Expected results:

Service should not be started until network is adequately configured.

Additional info:

Comment 1 Paul Howarth 2017-10-27 13:42:18 UTC
PR submitted upstream:
https://github.com/proftpd/proftpd/pull/617

Comment 2 Fedora Update System 2017-10-30 17:06:51 UTC
proftpd-1.3.6-8.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-5bcb708418

Comment 3 Fedora Update System 2017-11-07 22:17:56 UTC
proftpd-1.3.6-8.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.