Bug 1350097 - privoxy sometimes starts, and fails, before the network is ready
Summary: privoxy sometimes starts, and fails, before the network is ready
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: privoxy
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-25 12:59 UTC by Sam Varshavchik
Modified: 2016-07-13 04:18 UTC (History)
2 users (show)

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:
Clone Of:
Environment:
Last Closed: 2016-07-06 05:52:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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