FS#18416 - [networkmanager] privoxy 3.0.16-1 fails to start at boot time
Attached to Project:
Arch Linux
Opened by Heiko Baums (cyberpatrol) - Sunday, 21 February 2010, 02:09 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 18 June 2011, 08:39 GMT
Opened by Heiko Baums (cyberpatrol) - Sunday, 21 February 2010, 02:09 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 18 June 2011, 08:39 GMT
|
Details
Description:
privoxy 3.0.16-1 fails to start at boot time. Starting it manually by `/etc/rc.d/privoxy start` after logging in is working. This is the content of /var/log/privoxy/log: Feb 21 02:43:42.779 7f9b15ee1700 Fatal error: can't bind to 127.0.0.1:8118: The hostname is not resolvable This is my DAEMONS array: DAEMONS=(syslog-ng cpufreq acpid dbus hal networkmanager postfix alsa crond cups privoxy hddtemp sensors lircd gpm fbsplash) So privoxy is started after every network related daemons especially networkmanager. This is either a bug in privoxy or in networkmanager 0.8-1. |
This task depends upon
After replacing networkmanager with network in the DAEMONS array privoxy is started correctly again at boot time:
DAEMONS=(syslog-ng cpufreq acpid dbus hal network firewall postfix alsa crond cups privoxy hddtemp sensors lircd gpm fbsplash)
The way to solve this is starting privoxy as dispatcher script (http://wiki.archlinux.org/index.php/NetworkManager#Configure_network_services).
maybe check your /etc/hosts and see if 127.0.0.1 has localhost hostname
My /etc/hosts is correct, has not been changed and has worked and is working correctly before and after the last update. And if /etc/hosts was the problem then the issue would not only appear with the new networkmanager but also with network and it would have happened before the last update.
And this issue only appears after the last system update which included an update of privoxy to 3.1.6-1 and networkmanager to 0.8-1, and it doesn't happen with network. So this must be a bug in networkmanager.
The only thing I saw in my /etc/hosts yesterday was that the line for localhost was moved to the top of the file above the comments. But the line itself, every other lines and the order of the lines haven't been changed.
I moved privoxy directly behind networkmanager in the DAEMONS array and now privoxy starts again at boot time.
This was the old DAEMONS array with which privoxy didn't start:
DAEMONS=(syslog-ng cpufreq acpid dbus hal networkmanager postfix alsa crond cups privoxy hddtemp sensors lircd gpm fbcondecor)
With this DAEMONS array privoxy always starts again:
DAEMONS=(syslog-ng cpufreq acpid dbus hal networkmanager privoxy postfix alsa crond cups hddtemp sensors lircd gpm fbcondecor)