Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 165296

Summary: net-misc/cbqinitt didn't initialize modified config file
Product: Gentoo Linux Reporter: Martin Y. Chiu <sothat>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED WONTFIX    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Y. Chiu 2007-02-04 16:56:06 UTC
cbqinit use following code to see if the compiled tc should be update

        if [ $VALID -eq 1 ]; then
                [ `find $CBQ_PATH -maxdepth 1 -newer $CBQ_CACHE| \
                  wc -l` -gt 0 ] && VALID=0
        fi



Reproducible: Always

Steps to Reproduce:
1. Write a config file in /etc/cbqinit
2. Use cbqinit to compile
3. Modify the config file

Actual Results:  
cbqinit compile again, and no tc rules will be updated

Expected Results:  
Above code only check the modification of directory (/etc/cbqinit). It would be better to use -maxdepth 2.
Comment 1 Pacho Ramos gentoo-dev 2012-02-09 11:33:00 UTC
that package is no longer in the tree