Bug 1350097

Summary: privoxy sometimes starts, and fails, before the network is ready
Product: [Fedora] Fedora Reporter: Sam Varshavchik <mrsam>
Component: privoxyAssignee: Gwyn Ciesla <gwync>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: cheese, gwync
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: privoxy-3.0.24-2.fc22 privoxy-3.0.24-2.fc23 privoxy-3.0.24-2.fc24 privoxy-3.0.24-2.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-06 05:52:07 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:

Description Sam Varshavchik 2016-06-25 12:59:52 UTC
Description of problem:

systemd sometimes may start privoxy before the network interfaces are ready, and privoxy will fail to start.

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

privoxy-3.0.24-1.fc24.x86_64

How reproducible:

Fairly reliably

Steps to Reproduce:
1. Reboot

Actual results:

Sometimes, maybe not on every reboot, but eventually privoxy will fail to start, logging:

2016-06-25 08:09:05.406 7fdbdce6c700 Fatal error: can't bind to 192.168.0.1:8000: Cannot assign requested address

in /var/log/privoxy/logfile, referencing whatever IP address privoxy is configured to listen on.

Expected results:

privoxy should always start.

Additional info:

privoxy.service currently specifies:

After=network.target

privoxy.service should be changed to:

Wants=network-online.target
After=network-online.target

See, for example, dhcpd.service, ntpdate.service, and others.

network.target only gives you the IP stack, after it's configured. The network interfaces aren't configured. It's off to the races now, to see which can happen first: privoxy starting up, or the network interfaces fully configured and open for business.

Seems to be that privoxy is more likely to lose the race in F24.

Comment 1 Fedora Update System 2016-06-27 14:16:54 UTC
privoxy-3.0.24-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-91f34322d9

Comment 2 Fedora Update System 2016-06-27 14:17:01 UTC
privoxy-3.0.24-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-c53f8a324c

Comment 3 Fedora Update System 2016-06-27 14:17:05 UTC
privoxy-3.0.24-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-2b5bc49832

Comment 4 Fedora Update System 2016-06-27 14:17:09 UTC
privoxy-3.0.24-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-6432691122

Comment 5 Fedora Update System 2016-06-28 00:26:34 UTC
privoxy-3.0.24-2.fc23 has been pushed to the Fedora 23 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-2016-2b5bc49832

Comment 6 Fedora Update System 2016-06-28 03:47:28 UTC
privoxy-3.0.24-2.el7 has been pushed to the Fedora EPEL 7 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-EPEL-2016-91f34322d9

Comment 7 Fedora Update System 2016-06-28 04:21:26 UTC
privoxy-3.0.24-2.fc22 has been pushed to the Fedora 22 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-2016-6432691122

Comment 8 Fedora Update System 2016-06-28 04:24:34 UTC
privoxy-3.0.24-2.fc24 has been pushed to the Fedora 24 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-2016-c53f8a324c

Comment 9 Fedora Update System 2016-07-06 05:52:05 UTC
privoxy-3.0.24-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2016-07-06 05:55:28 UTC
privoxy-3.0.24-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2016-07-09 16:23:41 UTC
privoxy-3.0.24-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2016-07-13 04:18:49 UTC
privoxy-3.0.24-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.