On 24/03/2024 18:46, Roland Rosenfeld wrote:
Hi Eric!
Thank you for your bug report.
On So, 24 Mär 2024, Eric Valette wrote:
Package: privoxy
Version: 3.0.34-3+b2
Severity: important
Usually the first thing I do after booting is starting firefox. Here
I have to start until privoxy starts which takes aroun two mins.
I purged the package, reinstalled. No change.
I didn't notice a problem with privoxy startup time, so let's try to
track down what's the root cause of your problem is.
privoxy waits for network-online.target before it starts.
Maybe you could check, whether network-online or privoxy is delaying
here.
What do you see in the output of
systemctl status network-online.target privoxy.service
On my system provoxy starts a the moment when network-online is active
and takes 1 second to start.
Can you see, when network-online is active on your system? Is it just
after booting or does it also take these two minutes?
I can browse internet via another browser or read mail with thunderbird
while privoxy is still starting up. So network is up I have no idea for
network-online precisely but still.
Even when the system is up, if I do service privoxy stop and then start
it takes long so I bet it is privoxy.
If the former, this isn't a privoxy issue, since privoxy has to wait
for a working network, otherwise it isn't able to bind the interfaces
(this was a problem in
https://bugs.launchpad.net/ubuntu/+source/privoxy/+bug/1870101).
If it's a problem in privoxy, that it is really starting up delayed,
what do you see
journalctl -u privoxy
or in /varl/log/privoxy/logfile?
I already did that without success. But I can try again.
Maybe you should (temporarily) increase debug level in
/etc/provoxy/config (maybe debug 4096 could be helpful, maybe others,
too).
Does your problem only happen on system startup or can you reproduce
it via
systemctl stop privoxy; systemctl start privoxy
See above. Will spend some time to debug it but not now.
Greetings
Roland
-- eric