Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114511 - wrong startup dependencies for dansguardian-dgav
Summary: wrong startup dependencies for dansguardian-dgav
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-05 01:03 UTC by LexCom Informationssysteme GmbH
Modified: 2005-12-08 14:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LexCom Informationssysteme GmbH 2005-12-05 01:03:16 UTC
in the dependencies section of /etc/init.d/dansguardian there is no entry for
squid as need.


Reproducible: Always
Steps to Reproduce:
1. restart network

Actual Results:  
* Caching service dependencies ...                                             
                                                                      [ ok ]
 * Stopping DansGuardian ...                                                   
                                                                       [ ok ]
 * Stop frox... ...                                                            
                                                                       [ ok ]
 * Stopping squid ...                                                          
                                                                       [ ok ]
 * Stopping eth0
 *   Bringing down eth0
 *     Shutting down eth0 ...                                                  
                                                                       [ ok ]
 * Starting eth0
 *   Bringing up eth0
 *     x.x.x.x                                                                 
                                                                 [ ok ]
 *   Adding routes
 *     default gw x.x.x.x ...                                                  
                                                                  [ ok ]
 * Starting DansGuardian ...
Error connecting to parent proxy                                               
                                                                       [ !! ]
 * Starting frox... ...                                                        
                                                                       [ ok ]
 * Starting squid ...                                                          
                                                                       [ ok ]

Expected Results:  
* Stopping DansGuardian ...                                                    
                                                                      [ ok ]
 * Stop frox... ...                                                            
                                                                       [ ok ]
 * Stopping squid ...                                                          
                                                                       [ ok ]
 * Stopping eth0e.
 *   Bringing down eth0
 *     Shutting down eth0 ...                                                  
                                                                       [ ok ]
 * Starting eth0
 *   Bringing up eth0
 *     x.x.x.x                                                                 
                                                                  [ ok ]
 *   Adding routes
 *     default gw x.x.x.x ...                                                  
                                                                  [ ok ]
 * Starting squid ...                                                          
                                                                       [ ok ]
 * Starting DansGuardian ...                                                   
                                                                       [ ok ]
 * Starting frox... ...                                                        
                                                                       [ ok ]

correct dependencies are:
depend() {
        need net clamd squid
        after squid
}
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2005-12-08 14:45:10 UTC
fixed in dansguardian-2.8.0.6-r1 and dansguardian-dgav-6.4.3-r1