First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 66177
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Web Application Packages Maintainers <web-apps@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Duane Healing <duane@psyber.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 66177 depends on: Show dependency tree
Show dependency graph
Bug 66177 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-10-02 17:42 0000
When Dansguardian is configured to use squid, running on the same machine, as
another proxy behind it, it fails to start on boot because squid has not yet
started.

Reproducible: Always
Steps to Reproduce:
1. Emerge dansguardian
2. Set "proxyip" and "proxyport" to point to the squid proxy running on the
same machine.
3. "rc-update add dansguardian default"
4. reboot
Actual Results:  
dansguardian fails to start on reboot because it's attempting to connect to a 
squid that isn't running yet. 

Expected Results:  
It should wait to start until after squid is running and then it will start 
successfully. 

To fix it I put a "after squid" in the depend() function of the dansguardian 
init script.

------- Comment #1 From Jesper aka XyborX 2004-12-22 02:11:47 0000 -------
I can confirm this bug. I solved it by putting "provide proxy" in squid's init
script, and "need net proxy" in dansguardian's. Since dansguardian can use
other proxies than squid, I consider this a better approach than "after squid",
although it requires all proxy servers init script to have "provide proxy" for
this to be useful. But it has to start somewhere, right? :)

------- Comment #2 From Eric Pretorious 2005-01-03 21:26:24 0000 -------
I was able to correct this behavior by adding 'squid' to
/etc/init.d/dansguardian:

depend() {
        need net squid
}

------- Comment #3 From Alin Năstac 2005-02-25 14:30:22 0000 -------
fixed in 2.8.0.4

------- Comment #4 From Alin Năstac 2005-02-26 14:22:55 0000 -------
*** Bug 83407 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug