Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165296 - net-misc/cbqinitt didn't initialize modified config file
Summary: net-misc/cbqinitt didn't initialize modified config file
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-04 16:56 UTC by Martin Y. Chiu
Modified: 2012-02-09 11:33 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 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